Skip to content

Commit a44c9d5

Browse files
committed
WATCH_STEP is a string
1 parent f5f2852 commit a44c9d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • test/watchCases/parsing/switching-harmony/0

‎test/watchCases/parsing/switching-harmony/0/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ it("should flag modules correctly", function() {
1111
require("./hh").default.should.be.eql("hh" + WATCH_STEP);
1212
require("./cc").should.be.eql("cc" + WATCH_STEP);
1313
switch(WATCH_STEP) {
14-
case 0:
14+
case "0":
1515
require("./hc").default.should.be.eql("hc0");
1616
require("./ch").should.be.eql("ch0");
1717
break;
18-
case 1:
18+
case "1":
1919
require("./hc").should.be.eql("hc1");
2020
require("./ch").default.should.be.eql("ch1");
2121
break;

0 commit comments

Comments
 (0)