diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-12-20 11:40:09 +0000 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-12-20 11:40:09 +0000 |
commit | 92af4def500da71d1d263cf5da6a9c3a9287226d (patch) | |
tree | f084867076fde5d558e99f734d9c62bcd5f3fdd5 /src | |
parent | 7d2e74d96351fcd15c5a2b7b0ed6e8767c1e86a1 (diff) | |
download | sonar-scanner-cli-92af4def500da71d1d263cf5da6a9c3a9287226d.tar.gz sonar-scanner-cli-92af4def500da71d1d263cf5da6a9c3a9287226d.zip |
Fix test on Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/sonar/runner/RunnerException.java | 2 | ||||
-rw-r--r-- | src/test/java/org/sonar/runner/LauncherTest.java | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/sonar/runner/RunnerException.java b/src/main/java/org/sonar/runner/RunnerException.java index de4bb00..777e5dd 100644 --- a/src/main/java/org/sonar/runner/RunnerException.java +++ b/src/main/java/org/sonar/runner/RunnerException.java @@ -19,8 +19,6 @@ */ package org.sonar.runner; -import java.io.IOException; - /** * @since 1.2 */ diff --git a/src/test/java/org/sonar/runner/LauncherTest.java b/src/test/java/org/sonar/runner/LauncherTest.java index 8d3f394..f857441 100644 --- a/src/test/java/org/sonar/runner/LauncherTest.java +++ b/src/test/java/org/sonar/runner/LauncherTest.java @@ -49,7 +49,7 @@ public class LauncherTest { public void shouldThrowExceptionWhenNoFilesMatchingPattern() throws Exception { File baseDir = new File(getClass().getResource("/org/sonar/runner/LauncherTest/shouldFilterFiles/").toURI()); try { - Launcher.getLibraries(baseDir, "*/*.jar"); + Launcher.getLibraries(baseDir, "*.jar"); fail("Exception expected"); } catch (RunnerException e) { assertThat(e.getMessage(), startsWith("No files matching pattern \"*.jar\" in directory ")); |