From 14e81abf83cff0f76b7cc38131d7991f9afae0b3 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 10 Oct 2012 16:19:17 +0200 Subject: Fix some quality flaws --- .../src/test/java/org/sonar/api/utils/command/CommandTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-plugin-api/src/test/java/org') 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"); -- cgit v1.2.3