Skip to content

Commit

Permalink
Drop exp value for :number tests with bad option values
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Nov 16, 2024
1 parent 852c5e2 commit de3e6ba
Showing 1 changed file with 4 additions and 24 deletions.
28 changes: 4 additions & 24 deletions test/tests/functions/number.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,8 @@
},
{
"src": ".local $foo = {$bar :number minimumFractionDigits=foo} {{bar {$foo}}}",
"params": [
{
"name": "bar",
"value": 4.2
}
],
"exp": "bar {$bar}",
"expErrors": [
{
"type": "bad-option"
}
]
"params": [{ "name": "bar", "value": 4.2 }],
"expErrors": [{ "type": "bad-option" }]
},
{
"src": ".local $foo = {$bar :number} {{bar {$foo}}}",
Expand Down Expand Up @@ -182,18 +172,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 de3e6ba

Please sign in to comment.