aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java b/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
index 21fbee1c439..de21bc3068d 100644
--- a/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
+++ b/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
@@ -72,7 +72,7 @@ public class JsonAssertTest {
@Test(expected = IllegalStateException.class)
public void fail_to_load_url() throws Exception {
- assertJson(new File("target/missing").toURL());
+ assertJson(new File("target/missing").toURI().toURL());
}
@Test