Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
aunkrig committed Nov 13, 2022
1 parent ed80ad0 commit b3cc4b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,10 @@ class ScriptTest extends CompileAndExecuteTest {
protected final IScriptEvaluator scriptEvaluator;

public
ScriptTest(String script) throws Exception {
ScriptTest(String script) {
this.script = script;
this.scriptEvaluator = CommonsCompilerTestSuite.this.compilerFactory.newScriptEvaluator();
this.scriptEvaluator.setThrownExceptions(new Class<?>[] { Exception.class });
}

@Override public void setSourceVersion(int sourceVersion) { this.scriptEvaluator.setSourceVersion(sourceVersion); }
Expand Down

0 comments on commit b3cc4b7

Please sign in to comment.