diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-10 16:19:17 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-10 16:21:24 +0200 |
commit | 14e81abf83cff0f76b7cc38131d7991f9afae0b3 (patch) | |
tree | 578e5829eb1714d4c5cd5984f47501fdb7ed17cb /sonar-plugin-api/src/test/java/org/sonar/api/utils/command | |
parent | b3b21c66379d99688ce5e65a811fdd79bf0a9c6d (diff) | |
download | sonarqube-14e81abf83cff0f76b7cc38131d7991f9afae0b3.tar.gz sonarqube-14e81abf83cff0f76b7cc38131d7991f9afae0b3.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api/utils/command')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/utils/command/CommandTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/utils/command/CommandTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/utils/command/CommandTest.java index 2ae9c89b4f8..f85fc0e6db1 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/utils/command/CommandTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/utils/command/CommandTest.java @@ -92,7 +92,7 @@ public class CommandTest { if (SystemUtils.IS_OS_WINDOWS) { Command command = Command.create("foo.bat"); command.setNewShell(true); - assertThat(command.toCommandLine()).isEqualTo("cmd /C foo.bat"); + assertThat(command.toCommandLine()).isEqualTo("cmd /C call foo.bat"); assertThat(command.isNewShell()).isTrue(); } else { Command command = Command.create("foo.sh"); |