You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/test_helpers/fixtures/pass_control_flow
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ Debug = true
3
3
[33m[stage-9] [0m[94mRunning tests for Stage #9: ne3[0m
4
4
[33m[stage-9] [test-1] [0m[94mRunning test case: 1[0m
5
5
[33m[stage-9] [test-1] [0m[94mWriting contents to ./test.lox:[0m
6
-
[33m[stage-9] [test-1] [0m[33m[test.lox][0m // This program should print the string, if the if condition evaluates to True
6
+
[33m[stage-9] [test-1] [0m[33m[test.lox][0m // This should print the string if the condition evaluates to True
7
7
[33m[stage-9] [test-1] [0m[33m[test.lox][0m if (false) print "foo";
8
8
[33m[stage-9] [test-1] [0m[94m$ ./your_program.sh run test.lox[0m
9
9
[33m[stage-9] [test-1] [0m[92m✓ 1 line(s) match on stdout[0m
10
10
[33m[stage-9] [test-1] [0m[92m✓ Received exit code 0.[0m
11
11
[33m[stage-9] [test-2] [0m[94mRunning test case: 2[0m
12
12
[33m[stage-9] [test-2] [0m[94mWriting contents to ./test.lox:[0m
13
-
[33m[stage-9] [test-2] [0m[33m[test.lox][0m // This program should execute the block body and print "block body", if the if condition evaluates to True
13
+
[33m[stage-9] [test-2] [0m[33m[test.lox][0m // This should print "block body" if the condition evaluates to True
14
14
[33m[stage-9] [test-2] [0m[33m[test.lox][0m if (false) {
Copy file name to clipboardExpand all lines: internal/test_helpers/fixtures/pass_control_flow_final
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ Debug = true
3
3
[33m[stage-9] [0m[94mRunning tests for Stage #9: ne3[0m
4
4
[33m[stage-9] [test-1] [0m[94mRunning test case: 1[0m
5
5
[33m[stage-9] [test-1] [0m[94mWriting contents to ./test.lox:[0m
6
-
[33m[stage-9] [test-1] [0m[33m[test.lox][0m // This program should print the string, if the if condition evaluates to True
6
+
[33m[stage-9] [test-1] [0m[33m[test.lox][0m // This should print the string if the condition evaluates to True
7
7
[33m[stage-9] [test-1] [0m[33m[test.lox][0m if (false) print "foo";
8
8
[33m[stage-9] [test-1] [0m[94m$ ./your_program.sh run test.lox[0m
9
9
[33m[stage-9] [test-1] [0m[92m✓ 1 line(s) match on stdout[0m
10
10
[33m[stage-9] [test-1] [0m[92m✓ Received exit code 0.[0m
11
11
[33m[stage-9] [test-2] [0m[94mRunning test case: 2[0m
12
12
[33m[stage-9] [test-2] [0m[94mWriting contents to ./test.lox:[0m
13
-
[33m[stage-9] [test-2] [0m[33m[test.lox][0m // This program should execute the block body and print "block body", if the if condition evaluates to True
13
+
[33m[stage-9] [test-2] [0m[33m[test.lox][0m // This should print "block body" if the condition evaluates to True
14
14
[33m[stage-9] [test-2] [0m[33m[test.lox][0m if (false) {
0 commit comments