Skip to content

Commit

Permalink
Fixed test case to work both locally and on pele
Browse files Browse the repository at this point in the history
This is because the javascript implementations differs
between the machines
  • Loading branch information
goglepox committed Feb 16, 2012
1 parent c65e0dd commit 9d74a44
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ public static void setUpBeforeClass() throws Exception {
public void scriptingWorks() {
assertEquals(
"the scripting class can be called and returns the right answer",
4.0, env.eval("2+2")
4.0, Double.parseDouble( env.eval("2+2").toString()) , .01d
);
}
}

0 comments on commit 9d74a44

Please sign in to comment.