test/jdk/jshell/ToolLocaleMessageTest.java

Print this page

        

@@ -42,11 +42,11 @@
 
 @Test
 public class ToolLocaleMessageTest extends ReplToolTesting {
 
     void testLocale(ReplTest... tests) {
-        test(Locale.getDefault(), false, new String[]{"-nostartup"}, "", tests);
+        test(Locale.getDefault(), false, new String[]{"--no-startup"}, "", tests);
     }
 
     void assertCommandOK(boolean after, String cmd, String... contains) {
         assertCommandCheckOutput(after, cmd, s -> {
             assertFalse(s.contains("Exception"), "Output of '" + cmd + "' has Exception: " + s);