From 6e0c86b7f5f910277aa82d98849c301294b5cf0f Mon Sep 17 00:00:00 2001 From: wendycwong Date: Fri, 2 Aug 2024 13:19:28 -0700 Subject: [PATCH] Fix test failure due to wrong error message. --- h2o-algos/src/test/java/hex/glm/GLMConstrainedTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();