Closed gsson closed 6 years ago
This makes the failure go away, but I don't know that it's the right thing to do
index 515cfa2..83f410d 100644
--- a/vertx-config-git/src/test/java/io/vertx/config/git/GitConfigStoreTest.java
+++ b/vertx-config-git/src/test/java/io/vertx/config/git/GitConfigStoreTest.java
@@ -516,7 +516,7 @@ public class GitConfigStoreTest {
Async async = tc.async();
retriever.getConfig(ar -> {
assertThat(ar.succeeded()).isFalse();
- assertThat(ar.cause().getMessage()).contains("conflict");
+ assertThat(ar.cause().getMessage()).containsIgnoringCase("conflict");
async.complete();
});
}
@@ -562,7 +562,7 @@ public class GitConfigStoreTest {
Async async = tc.async();
retriever.getConfig(ar -> {
assertThat(ar.succeeded()).isFalse();
- assertThat(ar.cause().getMessage()).contains("conflict");
+ assertThat(ar.cause().getMessage()).containsIgnoringCase("conflict");
async.complete();
});
}
@@ -729,4 +729,4 @@ public class GitConfigStoreTest {
return this;
}
Running
mvn clean install
locally makes somevertx-config-git
fail.Failing tests below; seems to be a case sensitivity thing, but the
git log
does not reveal any changes to the error messaging: