summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2018-06-23 19:16:22 -0700
committerGeorge Fraser <george@fivetran.com>2018-06-23 19:16:59 -0700
commitfa25ffd8fc51c46d57103d0ba2e04356814fbd7c (patch)
treef980376161f808498504cf8445a02f9f658fed02 /src/test
parentc423d6c969cc0fa207bd443a999753c0fe95b2c0 (diff)
downloadjava-language-server-fa25ffd8fc51c46d57103d0ba2e04356814fbd7c.zip
Reduce use of URI
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/javacs/JavaCompilerServiceTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/javacs/JavaCompilerServiceTest.java b/src/test/java/org/javacs/JavaCompilerServiceTest.java
index b007e68..3a8c344 100644
--- a/src/test/java/org/javacs/JavaCompilerServiceTest.java
+++ b/src/test/java/org/javacs/JavaCompilerServiceTest.java
@@ -250,7 +250,7 @@ public class JavaCompilerServiceTest {
@Test
public void lint() {
List<Diagnostic<? extends JavaFileObject>> diags =
- compiler.lint(Collections.singleton(resourceUri("/HasError.java")));
+ compiler.lint(Collections.singleton(Paths.get(resourceUri("/HasError.java"))));
assertThat(diags, not(empty()));
}