Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WS-17-18
assignment-tests
Commits
cf6acc53
Commit
cf6acc53
authored
Mar 20, 2018
by
Alexander
Browse files
Improve error message for NO_OUTPUT in case of empty string
parent
79ebb5e6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/test/TestBase.java
View file @
cf6acc53
...
...
@@ -240,7 +240,10 @@ public abstract class TestBase {
if
(
output
!=
null
)
{
log
.
info
(
" Failed!\n"
);
printLog
();
fail
(
"Output should have been empty but was:"
+
output
);
if
(
output
.
equals
(
""
))
{
output
=
"(empty string)"
;
}
fail
(
"Output should have been empty but was: "
+
output
);
}
break
;
case
NO_CHECK:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment