Skip to content

Commit

Permalink
Update PreparsedScriptTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jmetertea authored and nickl- committed Jan 7, 2019
1 parent 7bbd88f commit 451c477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/bsh/PreparsedScriptTest.java
Expand Up @@ -109,6 +109,6 @@ public void testZero() throws Exception {
@Test
public void testZeroFloat() throws Exception {
final PreparsedScript f = new PreparsedScript("double d = 0.0;float f = (float) d; return f * 2;",_classLoader);
assertEquals(0, f.invoke(Collections.emptyMap()));
assertEquals(0.0, f.invoke(Collections.emptyMap()));
}
}

0 comments on commit 451c477

Please sign in to comment.