equal
deleted
inserted
replaced
191 } |
191 } |
192 |
192 |
193 @Test |
193 @Test |
194 public void setUnknownEditor() { |
194 public void setUnknownEditor() { |
195 test( |
195 test( |
196 a -> assertCommand(a, "/set editor", "| The '/set editor' command requires a path argument"), |
|
197 a -> assertCommand(a, "/set editor UNKNOWN", "| Editor set to: UNKNOWN"), |
196 a -> assertCommand(a, "/set editor UNKNOWN", "| Editor set to: UNKNOWN"), |
198 a -> assertCommand(a, "int a;", null), |
197 a -> assertCommand(a, "int a;", null), |
199 a -> assertCommandOutputStartsWith(a, "/ed 1", |
198 a -> assertCommandOutputStartsWith(a, "/ed 1", |
200 "| Edit Error:") |
199 "| Edit Error:") |
201 ); |
200 ); |