Skip to content

Commit f753e8b

Browse files
committed
Add panic test case in iterator
1 parent bcc0de7 commit f753e8b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

suites/panic.json

+6
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,11 @@
1616
"rule": { "panic": [{ "val": "x" }] },
1717
"error": true,
1818
"data": { "x": { "error": "Some error" } }
19+
},
20+
{
21+
"description": "Panic within an iterator",
22+
"rule": { "map": [[1, 2, 3], { "panic": [{ "/": [0,0] }] }] },
23+
"error": true,
24+
"data": null
1925
}
2026
]

0 commit comments

Comments
 (0)