Expect the right error message
@@ -37,7 +37,7 @@ public class SoftTimeoutTestCase {
} catch (QueryException e) {
assertEquals("Invalid request parameter", e.getMessage());
assertEquals("Could not set 'ranking.softtimeout." + key + "' to '" + value +"'", e.getCause().getMessage());
- assertEquals(key + " must be in the range [0.0, 1.0]. It is " + value, e.getCause().getCause().getMessage());
+ assertEquals(key + " must be in the range [0.0, 1.0], got " + value, e.getCause().getCause().getMessage());
}
}
@Test
