From 7d51364584e9081f71f4691a713bb737f7573a74 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 25 Mar 2020 07:19:44 +0900 Subject: Revert "Remove ! from commands" This reverts commit f7479c36ad0883455e511a86adf86e147ff4460a. --- test/console/commandline/CommandParser.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/console/commandline') diff --git a/test/console/commandline/CommandParser.test.ts b/test/console/commandline/CommandParser.test.ts index 129821a..4ad78fd 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.BufferDelete); + expect(sut.parse("bdelete!")).to.equal(Command.BufferDeleteForce); expect(() => sut.parse("harakiri")).to.throw(UnknownCommandError); }) }) -- cgit v1.2.3