mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
Add regression tests from wren-fuzz.
These are all non-crashing now, so it looks like the underlying issue is fixed. (It was probably #429.) Fix #442.
This commit is contained in:
15
test/regression/442-000005.wren
Normal file
15
test/regression/442-000005.wren
Normal file
@ -0,0 +1,15 @@
|
||||
System.print("Held!")
|
||||
|
||||
// expect error line 8
|
||||
class Wren {
|
||||
yTo(city) {
|
||||
System.print("Fl0to %(bity)")
|
||||
}
|
||||
GGGGGGCGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGing GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG}
|
||||
|
||||
vach GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG}
|
||||
|
||||
vach {|word|<7C>iberd(wryield(word) }
|
||||
}
|
||||
|
||||
while (!ad
|
||||
4
test/regression/442-000007.wren
Normal file
4
test/regression/442-000007.wren
Normal file
@ -0,0 +1,4 @@
|
||||
// expect error line 3
|
||||
// expect error line 4
|
||||
class 0""0
|
||||
class@0c""c00000000000000000000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000086.wren
Normal file
2
test/regression/442-000086.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class]e00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000088.wren
Normal file
2
test/regression/442-000088.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class]e00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000089.wren
Normal file
2
test/regression/442-000089.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class{M00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000100.wren
Normal file
2
test/regression/442-000100.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
6
test/regression/442-000115.wren
Normal file
6
test/regression/442-000115.wren
Normal file
@ -0,0 +1,6 @@
|
||||
// expect error line 4
|
||||
// expect error line 5
|
||||
// expect error line 6
|
||||
0.p(""0
|
||||
class<EFBFBD>0p("".0
|
||||
0""class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000166.wren
Normal file
2
test/regression/442-000166.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class]e00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
3
test/regression/442-000181.wren
Normal file
3
test/regression/442-000181.wren
Normal file
@ -0,0 +1,3 @@
|
||||
// expect error line 2
|
||||
class 0.r<><72><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
5
test/regression/442-000182.wren
Normal file
5
test/regression/442-000182.wren
Normal file
@ -0,0 +1,5 @@
|
||||
// expect error line 3
|
||||
// expect error line 5
|
||||
em.0(0Hel00)
|
||||
|
||||
class WVe00000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000238.wren
Normal file
2
test/regression/442-000238.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000295.wren
Normal file
2
test/regression/442-000295.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000321.wren
Normal file
2
test/regression/442-000321.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
classW00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000348.wren
Normal file
2
test/regression/442-000348.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W000 y0000000000000000000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000357.wren
Normal file
2
test/regression/442-000357.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
2
test/regression/442-000440.wren
Normal file
2
test/regression/442-000440.wren
Normal file
@ -0,0 +1,2 @@
|
||||
// expect error line 2
|
||||
class W00000000000000000000000000000000000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
4
test/regression/442-000665.wren
Normal file
4
test/regression/442-000665.wren
Normal file
@ -0,0 +1,4 @@
|
||||
// expect error line 3
|
||||
// expect error line 4
|
||||
0.p(""0
|
||||
class<EFBFBD>S00000000000000000000000000000000000<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
Reference in New Issue
Block a user