From 9a25dd59c422c21cfd6f313408922854f523c66b Mon Sep 17 00:00:00 2001 From: Brian Middaugh <3270756+bmiddaugh@users.noreply.github.com> Date: Tue, 28 May 2024 15:02:15 -0700 Subject: [PATCH] Don't use default locale for String.format call --- src/test/java/com/jcraft/jsch/OpenSSHConfigTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }