diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-03-25 07:01:59 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-03-25 07:01:59 +0900 |
commit | f7479c36ad0883455e511a86adf86e147ff4460a (patch) | |
tree | b70a44eda90615582a6f9f411db0eb736cdf3fe4 /test/console | |
parent | 6be2dabff6c35fb79d85ba39b692c5d06cd53125 (diff) |
Remove ! from commands
Diffstat (limited to 'test/console')
-rw-r--r-- | test/console/commandline/CommandParser.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/console/commandline/CommandParser.test.ts b/test/console/commandline/CommandParser.test.ts index 4ad78fd..129821a 100644 --- a/test/console/commandline/CommandParser.test.ts +++ b/test/console/commandline/CommandParser.test.ts @@ -8,7 +8,7 @@ describe("CommandParser", () => { const sut = new CommandParser(); expect(sut.parse("open")).to.equal(Command.Open); expect(sut.parse("w")).to.equal(Command.WindowOpen); - expect(sut.parse("bdelete!")).to.equal(Command.BufferDeleteForce); + expect(sut.parse("bdelete!")).to.equal(Command.BufferDelete); expect(() => sut.parse("harakiri")).to.throw(UnknownCommandError); }) }) |