Skip to content

Commit e5e9af0

Browse files
committed
fix: logics-js: Test interpreter '#expect' cannot handle dict
1 parent 758f9a7 commit e5e9af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logics-js/test/logics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function testcase(code) {
1919

2020
if (line[0] === "#") {
2121
// Process lines starting with "#" (comments and instructions).
22-
let cmd = line.substr(1).split(":", 3);
22+
let cmd = line.substr(1).split(":");
2323
switch (cmd[0].toLowerCase()) {
2424
case "expect":
2525
// Verify the expected result.

0 commit comments

Comments
 (0)