Skip to content

Commit 42c0286

Browse files
gselzerclaude
andcommitted
Set script files as suppliers in tests
ScriptSession.setFile(File) is gone from code-lsp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4b4e8bc commit 42c0286

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/test/java/org/scijava/plugins/scripting/appose/python/ApposePythonCompletionIntegrationTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public void testNewDependency() throws Exception {
243243
/** The session about a script (null path: untitled). */
244244
private static ScriptSession session(final String path) {
245245
return sessions.computeIfAbsent(path == null ? "" : path, p -> servers
246-
.session(language).setFile(path == null ? null : new File(path)));
246+
.session(language).setFile(() -> path == null ? null : new File(path)));
247247
}
248248

249249
/** Tells the servers a script's text. */

0 commit comments

Comments
 (0)