aboutsummaryrefslogtreecommitdiff
path: root/test/console/commandline/CommandLineParser.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-05-02 17:25:56 +0900
committerGitHub <noreply@github.com>2020-05-02 17:25:56 +0900
commit5df0537bcf65a341e79852b1b30379c73318529c (patch)
treeaee5efe52412855f620cb514a13a2c14373f27b7 /test/console/commandline/CommandLineParser.test.ts
parent685f2b7b69218b06b5bb676069e35f79c5048c9b (diff)
parent75abd90ecb8201ad845b266f96220d8adfe19b2d (diff)
Merge pull request #749 from ueokande/qa-0.28
QA 0.28
Diffstat (limited to 'test/console/commandline/CommandLineParser.test.ts')
-rw-r--r--test/console/commandline/CommandLineParser.test.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/console/commandline/CommandLineParser.test.ts b/test/console/commandline/CommandLineParser.test.ts
index 6aec682..7cba04c 100644
--- a/test/console/commandline/CommandLineParser.test.ts
+++ b/test/console/commandline/CommandLineParser.test.ts
@@ -1,4 +1,6 @@
-import CommandLineParser, {InputPhase} from "../../../src/console/commandline/CommandLineParser";
+import CommandLineParser, {
+ InputPhase,
+} from "../../../src/console/commandline/CommandLineParser";
import { Command } from "../../../src/shared/Command";
import { expect } from "chai";
@@ -9,7 +11,7 @@ describe("CommandLineParser", () => {
expect(sut.inputPhase("")).to.equal(InputPhase.OnCommand);
expect(sut.inputPhase("op")).to.equal(InputPhase.OnCommand);
expect(sut.inputPhase("open ")).to.equal(InputPhase.OnArgs);
- expect(sut.inputPhase("open apple")).to.equal(InputPhase.OnArgs)
+ expect(sut.inputPhase("open apple")).to.equal(InputPhase.OnArgs);
});
});
describe("#parse", () => {
@@ -24,6 +26,6 @@ describe("CommandLineParser", () => {
command: Command.QuitAll,
args: "",
});
- })
- })
+ });
+ });
});