Skip to content

Commit 596ccc4

Browse files
committed
ScriptInfoTest: avoid Eclipse null warning
1 parent 84df87e commit 596ccc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scijava/script/ScriptInfoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public void testParameterParsing() throws Exception {
9494
final Object output = scriptModule.getOutput("result");
9595

9696
if (output == null || !(output instanceof Integer)) fail();
97-
assertEquals(3, ((Integer) output).intValue());
97+
else assertEquals(3, ((Integer) output).intValue());
9898
}
9999

100100
/** Tests {@link ScriptInfo#getVersion()}. */

0 commit comments

Comments
 (0)