We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a420d99 commit a9dfd50Copy full SHA for a9dfd50
src/test/java/org/scijava/script/ScriptInfoTest.java
@@ -93,7 +93,10 @@ public void testNoisyParameters() throws Exception {
93
94
final Object output = scriptModule.getOutput("result");
95
96
- if (output == null || !(output instanceof Integer)) fail();
+ if (output == null) fail("null result");
97
+ else if (!(output instanceof Integer)) {
98
+ fail("result is a " + output.getClass().getName());
99
+ }
100
else assertEquals(3, ((Integer) output).intValue());
101
}
102
0 commit comments