diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-02-08 16:10:37 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-02-09 20:02:43 +0000 |
commit | f35c863133c22bdc7d5a63dd914e10eda1ad04dc (patch) | |
tree | d4fcc186a0bed35c3a6c5e2a9272c478e3dc767f /sonar-scanner-engine/src/test/java | |
parent | 8b2562b4aa40eb7af9ef3049feb855959f38956a (diff) | |
download | sonarqube-f35c863133c22bdc7d5a63dd914e10eda1ad04dc.tar.gz sonarqube-f35c863133c22bdc7d5a63dd914e10eda1ad04dc.zip |
Fix test depending on user locale
Diffstat (limited to 'sonar-scanner-engine/src/test/java')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scm/git/ProcessWrapperFactoryTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/ProcessWrapperFactoryTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/ProcessWrapperFactoryTest.java index 5490b476b3b..1eaa3c5cff6 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scm/git/ProcessWrapperFactoryTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scm/git/ProcessWrapperFactoryTest.java @@ -45,7 +45,7 @@ public class ProcessWrapperFactoryTest { assertThatThrownBy(() -> processWrapper.execute()) .isInstanceOf(IllegalStateException.class); - assertThat(logTester.logs(Level.DEBUG).get(0)).contains("fatal: not a git repository"); + assertThat(logTester.logs(Level.DEBUG).get(0)).startsWith("fatal:"); } } |