Skip to content

Commit

Permalink
Drop exp value for :number tests with bad option values (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli authored Nov 18, 2024
1 parent 9e59062 commit 42daa20
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions test/tests/functions/number.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
{
"src": ".local $foo = {$bar :number minimumFractionDigits=foo} {{bar {$foo}}}",
"params": [{ "name": "bar", "value": 4.2 }],
"exp": "bar {$foo}",
"expErrors": [{ "type": "bad-option" }]
},
{
Expand Down Expand Up @@ -164,18 +163,8 @@
},
{
"src": ".input {$foo :number minimumFractionDigits=foo} {{bar {$foo}}}",
"params": [
{
"name": "foo",
"value": 4.2
}
],
"exp": "bar {$foo}",
"expErrors": [
{
"type": "bad-option"
}
]
"params": [{ "name": "foo", "value": 4.2 }],
"expErrors": [{ "type": "bad-option" }]
},
{
"src": ".input {$foo :number} {{bar {$foo}}}",
Expand Down

0 comments on commit 42daa20

Please sign in to comment.