aboutsummaryrefslogtreecommitdiff
path: root/test/console/commandline
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-03-25 07:19:44 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-03-25 07:19:44 +0900
commit7d51364584e9081f71f4691a713bb737f7573a74 (patch)
tree9140b88490cf6cb778a96b9ddacc17bb8f296cf1 /test/console/commandline
parentf7479c36ad0883455e511a86adf86e147ff4460a (diff)
Revert "Remove ! from commands"
This reverts commit f7479c36ad0883455e511a86adf86e147ff4460a.
Diffstat (limited to 'test/console/commandline')
-rw-r--r--test/console/commandline/CommandParser.test.ts2
1 files changed, 1 insertions, 1 deletions
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);
})
})