Skip to content

Commit

Permalink
Fix test failure due to wrong error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wendycwong committed Aug 2, 2024
1 parent 87ea910 commit 6e0c86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ public void testDuplicateBetaLinearConstraints() {
Scope.track_generic(glm2);
assert 1==2 : "Should have thrown an error due to duplicated constraints.";
} catch(IllegalArgumentException ex) {
assert ex.getMessage().contains("rredundant linear constraints:") : "Wrong error message. Error should be about" +
assert ex.getMessage().contains("redundant linear constraints") : "Wrong error message. Error should be about" +
" redundant linear constraints";
} finally {
Scope.exit();
Expand Down

0 comments on commit 6e0c86b

Please sign in to comment.