Commit 7d91e4d
committed
JavaScriptTest: relax ScriptEngine class matching
If it's Rhino, the script engine class will be called RhinoScriptEngine.
But if it's Nashorn, it will be NashornScriptEngine.
Of course, other potential flavors are possible too, but let's not worry
about those at this moment.1 parent df9ba05 commit 7d91e4d
File tree
1 file changed
+3
-1
lines changed- src/test/java/org/scijava/plugins/scripting/javascript
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments