langtools/test/jdk/jshell/ToolFormatTest.java
changeset 38531 c449daa25b45
parent 38520 17e72b872ffd
child 38539 71874886920f
equal deleted inserted replaced
38530:8e89d567748c 38531:c449daa25b45
   218                             "|  Created new feedback mode: te"),
   218                             "|  Created new feedback mode: te"),
   219                     (a) -> assertCommand(a, "/set format te errorpre 'ERROR: '", ""),
   219                     (a) -> assertCommand(a, "/set format te errorpre 'ERROR: '", ""),
   220                     (a) -> assertCommandOutputStartsWith(a, "/set feedback te",
   220                     (a) -> assertCommandOutputStartsWith(a, "/set feedback te",
   221                             ""),
   221                             ""),
   222                     (a) -> assertCommandOutputStartsWith(a, "/set ",
   222                     (a) -> assertCommandOutputStartsWith(a, "/set ",
   223                             "ERROR: The '/set' command requires a sub-command and arguments"),
   223                             "ERROR: The '/set' command requires a sub-command"),
   224                     (a) -> assertCommandOutputStartsWith(a, "/set xyz",
   224                     (a) -> assertCommandOutputStartsWith(a, "/set xyz",
   225                             "ERROR: Invalid '/set' argument: xyz"),
   225                             "ERROR: Invalid '/set' argument: xyz"),
   226                     (a) -> assertCommandOutputStartsWith(a, "/set f",
   226                     (a) -> assertCommandOutputStartsWith(a, "/set f",
   227                             "ERROR: Ambiguous sub-command argument to '/set': f"),
   227                             "ERROR: Ambiguous sub-command argument to '/set': f"),
   228                     (a) -> assertCommandOutputStartsWith(a, "/set feedback",
   228                     (a) -> assertCommandOutputStartsWith(a, "/set feedback",