Skip to content

Commit 1443048

Browse files
catamorphismeemeli
andauthored
Remove references to "RangeError" in spec tests (#719)
* Remove references to "RangeError" in spec tests * Update test/test-functions.json Co-authored-by: Eemeli Aro <[email protected]> * Update test/test-functions.json Co-authored-by: Eemeli Aro <[email protected]> --------- Co-authored-by: Eemeli Aro <[email protected]>
1 parent 1009ea9 commit 1443048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-functions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"src": "{horse :date}",
66
"exp": "{|horse|}",
7-
"errors": [{ "name": "RangeError" }]
7+
"errors": [{ "type": "bad-input" }]
88
},
99
{ "src": "{|2006-01-02| :date}", "exp": "1/2/06" },
1010
{ "src": "{|2006-01-02T15:04:06| :date}", "exp": "1/2/06" },
@@ -23,7 +23,7 @@
2323
{
2424
"src": "{horse :time}",
2525
"exp": "{|horse|}",
26-
"errors": [{ "name": "RangeError" }]
26+
"errors": [{ "type": "bad-input" }]
2727
},
2828
{ "src": "{|2006-01-02T15:04:06| :time}", "exp": "3:04 PM" },
2929
{

0 commit comments

Comments
 (0)