-
Notifications
You must be signed in to change notification settings - Fork 1
/
failing_tests.txt
208 lines (173 loc) · 5.91 KB
/
failing_tests.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
=== all ===
FAIL test/assignment/grouping.lox
Unexpected error:
[2] Error at '=': Expected ';' after value
Missing expected error: [2] Error at '=': Invalid assignment target
FAIL test/class/local_reference_self.lox
Unexpected output on stderr:
Undefined variable 'Foo'
Unexpected output on stderr:
[line 4] in returnSelf
Unexpected output on stderr:
[line 8] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'Foo'
[line 4] in returnSelf
[line 8] in script
Missing expected output '<class 0>' on line 8.
FAIL test/closure/assign_to_closure.lox
Unexpected output on stderr:
Undefined variable 'local'
Unexpected output on stderr:
[line 7] in f_
Unexpected output on stderr:
[line 21] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'local'
[line 7] in f_
[line 21] in script
Missing expected output 'local' on line 22.
Missing expected output 'after f' on line 23.
Missing expected output 'after f' on line 26.
Missing expected output 'after g' on line 27.
FAIL test/closure/closed_closure_in_function.lox
Unexpected output on stderr:
Undefined variable 'local'
Unexpected output on stderr:
[line 6] in f_
Unexpected output on stderr:
[line 11] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'local'
[line 6] in f_
[line 11] in script
Missing expected output 'local' on line 11.
FAIL test/closure/nested_closure.lox
Expected output 'c' on line 25 and got 'b'.
FAIL test/closure/open_closure_in_function.lox
Unexpected output on stderr:
Undefined variable 'local'
Unexpected output on stderr:
[line 4] in f
Unexpected output on stderr:
[line 6] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'local'
[line 4] in f
[line 6] in script
Missing expected output 'local' on line 4.
FAIL test/closure/reference_closure_multiple_times.lox
Unexpected output on stderr:
Undefined variable 'a'
Unexpected output on stderr:
[line 6] in f_
Unexpected output on stderr:
[line 12] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'a'
[line 6] in f_
[line 12] in script
Missing expected output 'a' on line 13.
Missing expected output 'a' on line 14.
FAIL test/closure/reuse_closure_slot.lox
Unexpected output on stderr:
Undefined variable 'a'
Unexpected output on stderr:
[line 6] in f_
Unexpected output on stderr:
[line 14] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'a'
[line 6] in f_
[line 14] in script
Missing expected output 'a' on line 14.
FAIL test/closure/shadow_closure_with_local.lox
Unexpected output on stderr:
Undefined variable 'foo'
Unexpected output on stderr:
[line 5] in f
Unexpected output on stderr:
[line 11] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'foo'
[line 5] in f
[line 11] in script
Missing expected output 'closure' on line 5.
Missing expected output 'shadow' on line 7.
Missing expected output 'closure' on line 9.
FAIL test/closure/unused_later_closure.lox
Unexpected output on stderr:
Undefined variable 'a'
Unexpected output on stderr:
[line 15] in returnA
Unexpected output on stderr:
[line 27] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'a'
[line 15] in returnA
[line 27] in script
Missing expected output 'a' on line 27.
FAIL test/for/closure_in_body.lox
Unexpected output on stderr:
Undefined variable 'i'
Unexpected output on stderr:
[line 8] in f
Unexpected output on stderr:
[line 17] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'i'
[line 8] in f
[line 17] in script
Missing expected output '4' on line 17.
Missing expected output '1' on line 18.
Missing expected output '4' on line 19.
Missing expected output '2' on line 20.
Missing expected output '4' on line 21.
Missing expected output '3' on line 22.
FAIL test/for/scope.lox
Unexpected output on stderr:
Operands must be numbers
Unexpected output on stderr:
[line 5] in script
Expected return code 0 and got 70. Stderr:
Operands must be numbers
[line 5] in script
Missing expected output '0' on line 6.
Missing expected output '-1' on line 10.
Missing expected output 'after' on line 20.
Missing expected output '0' on line 24.
FAIL test/function/local_recursion.lox
Unexpected output on stderr:
Undefined variable 'fib'
Unexpected output on stderr:
[line 4] in fib
Unexpected output on stderr:
[line 7] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'fib'
[line 4] in fib
[line 7] in script
Missing expected output '21' on line 7.
FAIL test/string/unterminated.lox
Unexpected output on stderr:
[Line 2] Error: Unterminated string
Missing expected error: [2] Error: Unterminated string
FAIL test/variable/shadow_and_local.lox
Expected output 'inner' on line 6 and got 'outer'.
FAIL test/variable/shadow_local.lox
Expected output 'shadow' on line 5 and got 'local'.
FAIL test/while/closure_in_body.lox
Unexpected output on stderr:
Undefined variable 'j'
Unexpected output on stderr:
[line 8] in f
Unexpected output on stderr:
[line 17] in script
Expected return code 0 and got 70. Stderr:
Undefined variable 'j'
[line 8] in f
[line 17] in script
Missing expected output '1' on line 17.
Missing expected output '2' on line 18.
Missing expected output '3' on line 19.
224 tests passed. 17 tests failed.