diff --git a/src/test/java/com/jcraft/jsch/OpenSSHConfigTest.java b/src/test/java/com/jcraft/jsch/OpenSSHConfigTest.java index d9b51619..439d712b 100644 --- a/src/test/java/com/jcraft/jsch/OpenSSHConfigTest.java +++ b/src/test/java/com/jcraft/jsch/OpenSSHConfigTest.java @@ -107,6 +107,6 @@ private void assertUserEquals(OpenSSHConfig openSSHConfig, String host, String e assertNotNull(config); String actual = config.getUser(); assertEquals(expected, actual, - String.format("Expected user for host %s to be %s, but was %s", host, expected, actual)); + String.format(Locale.ROOT, "Expected user for host %s to be %s, but was %s", host, expected, actual)); } }