diff --git a/h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java b/h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java index 495fc1c11439..a4ae87ea0b03 100644 --- a/h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java +++ b/h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java @@ -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();