Hello again, I’ve also included it on an Android p...
# power-assert
j
Hello again, I’ve also included it on an Android project, and it seems to be working, but for instrumented tests I get a really messed up formatting. Example:
b
I think there may be multiple issues here: 1. Bad formatting of
assertEquals
(KT-68511) which will be fixed in 2.0.20. 2. Your terminal output seems like all leading whitespace has been trimmed. Both the power-assert formatting is missing leading whitespace and the stacktrace
at
lines are missing leading
\t
characters.
You can work around KT-68511 by adding an empty message to your
assertEquals
calls for the time being.
j
ah ok, understood, thanks!
regarding the trailing space, this is the result from executing an instrumented test on Android Studio, do you happen to know if there is a configuration for that anywhere on the IDE ? because I’m still having issues with the empty string:
b
Unfortunately I have insight on that particular issue. Is the same true when you run Gradle from a terminal? If yes, then it's probably a Gradle related issue. If no, it's probably an Android Studio related issue.
j
yeah apparently through gradle I get the following: