Skip to content
GitLab
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
b4e35c4f
Commit
b4e35c4f
authored
Mar 12, 2018
by
Jon Amos Fehling
Browse files
fix error of false positive
parent
37b6fd95
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/TestBase.java
View file @
b4e35c4f
...
...
@@ -235,14 +235,15 @@ public abstract class TestBase {
failAndLog
(
testPair
.
getFailMessage
(
output
));
}
break
;
case
NO_CHECK:
break
;
case
CHECK_FOR_NO_OUTPUT:
if
(
testPair
.
getO
utput
()
!=
null
)
{
if
(
o
utput
!=
null
)
{
log
.
info
(
" Failed!\n"
);
printLog
();
fail
(
"Output should have been empty but was:"
+
output
);
}
break
;
case
NO_CHECK:
break
;
default
:
fail
(
"Unimplemented error check"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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