Skip to content

Commit b13f977

Browse files
committed
ConsoleServiceTest: reduce FooArgument aggression
It claimed to support everything, which hosed any other unit tests leaning on the ConsoleService.
1 parent 5a1632b commit b13f977

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/org/scijava/console/ConsoleServiceTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ public void handle(final LinkedList<String> args) {
220220
argsHandled = true;
221221
}
222222

223+
@Override
224+
public boolean supports(final LinkedList<String> args) {
225+
return !args.isEmpty() && args.getFirst().equals("--foo");
226+
}
223227
}
224228

225229
private static class OutputTracker implements OutputListener {

0 commit comments

Comments
 (0)