Skip to content

Commit 1c43d53

Browse files
committed
JythonTest: use new-style parameter syntax
1 parent 6c060d5 commit 1c43d53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/scijava/plugins/scripting/jython/JythonTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ public void testParameters() throws InterruptedException, ExecutionException,
104104
IOException, ScriptException
105105
{
106106
final String script = "" + //
107-
"# @ScriptService ss\n" + //
108-
"# @OUTPUT String language\n" + //
107+
"#@ ScriptService ss\n" + //
108+
"#@output String language\n" + //
109109
"language = ss.getLanguageByName('jython').getLanguageName()\n";
110110
final ScriptModule m = scriptService.run("hello.py", script, true).get();
111111

@@ -140,7 +140,7 @@ public void testLongType() throws InterruptedException, ExecutionException,
140140
IOException, ScriptException
141141
{
142142
final String script = "" + //
143-
"# @OUTPUT String varType\n" + //
143+
"#@output String varType\n" + //
144144
"a = 10L\n" + //
145145
"varType = type(a)\n";
146146
final ScriptModule m = scriptService.run("longType.py", script, true).get();

0 commit comments

Comments
 (0)