langtools/test/jdk/jshell/ToolCommandOptionTest.java
changeset 40588 b5c32bfa9710
parent 38539 71874886920f
child 40598 821b945fc942
equal deleted inserted replaced
40587:1c355ea550ed 40588:b5c32bfa9710
    86                         "|  Conflicting options -- /types -st -al")
    86                         "|  Conflicting options -- /types -st -al")
    87         );
    87         );
    88     }
    88     }
    89 
    89 
    90     public void dropTest() {
    90     public void dropTest() {
    91         test(false, new String[]{"-nostartup"},
    91         test(false, new String[]{"--no-startup"},
    92                 (a) -> assertCommand(a, "int x = 5;",
    92                 (a) -> assertCommand(a, "int x = 5;",
    93                         "x ==> 5"),
    93                         "x ==> 5"),
    94                 (a) -> assertCommand(a, "x",
    94                 (a) -> assertCommand(a, "x",
    95                         "x ==> 5"),
    95                         "x ==> 5"),
    96                 (a) -> assertCommand(a, "long y;",
    96                 (a) -> assertCommand(a, "long y;",