Skip to content

Commit 769ec06

Browse files
committed
ScriptInfoTest: fail early if service is null
1 parent ce51327 commit 769ec06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scijava/script/ScriptInfoTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class ScriptInfoTest {
6868
@BeforeClass
6969
public static void setUp() {
7070
context = new Context();
71-
scriptService = context.getService(ScriptService.class);
71+
scriptService = context.service(ScriptService.class);
7272
}
7373

7474
@AfterClass

0 commit comments

Comments
 (0)