Skip to content

Commit

Permalink
Attempt to fix NesqueIT failures
Browse files Browse the repository at this point in the history
  • Loading branch information
adutra committed Jul 31, 2023
1 parent 6ab348d commit 68dab96
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ additionalRefName, defaultBranch(), currentHash))
"ASSIGN BRANCH %s TO %s AT %s IN nessie",
additionalRefName, defaultBranch(), invalidHash))
.isInstanceOf(IllegalArgumentException.class)
.hasMessage(Validation.HASH_MESSAGE + " - but was: " + invalidHash);
.hasMessageContaining(Validation.HASH_RULE)
.hasMessageContaining(" - but was: " + invalidHash);
assertThatThrownBy(
() ->
sql(
Expand Down Expand Up @@ -320,7 +321,8 @@ additionalRefName, defaultBranch(), currentHash))
"ASSIGN TAG %s TO %s AT %s IN nessie",
additionalRefName, defaultBranch(), invalidHash))
.isInstanceOf(IllegalArgumentException.class)
.hasMessage(Validation.HASH_MESSAGE + " - but was: " + invalidHash);
.hasMessageContaining(Validation.HASH_RULE)
.hasMessageContaining(" - but was: " + invalidHash);
assertThatThrownBy(
() ->
sql(
Expand Down

0 comments on commit 68dab96

Please sign in to comment.