Skip to content

Commit de3e6ba

Browse files
committed
Drop exp value for :number tests with bad option values
1 parent 852c5e2 commit de3e6ba

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

test/tests/functions/number.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,8 @@
132132
},
133133
{
134134
"src": ".local $foo = {$bar :number minimumFractionDigits=foo} {{bar {$foo}}}",
135-
"params": [
136-
{
137-
"name": "bar",
138-
"value": 4.2
139-
}
140-
],
141-
"exp": "bar {$bar}",
142-
"expErrors": [
143-
{
144-
"type": "bad-option"
145-
}
146-
]
135+
"params": [{ "name": "bar", "value": 4.2 }],
136+
"expErrors": [{ "type": "bad-option" }]
147137
},
148138
{
149139
"src": ".local $foo = {$bar :number} {{bar {$foo}}}",
@@ -182,18 +172,8 @@
182172
},
183173
{
184174
"src": ".input {$foo :number minimumFractionDigits=foo} {{bar {$foo}}}",
185-
"params": [
186-
{
187-
"name": "foo",
188-
"value": 4.2
189-
}
190-
],
191-
"exp": "bar {$foo}",
192-
"expErrors": [
193-
{
194-
"type": "bad-option"
195-
}
196-
]
175+
"params": [{ "name": "foo", "value": 4.2 }],
176+
"expErrors": [{ "type": "bad-option" }]
197177
},
198178
{
199179
"src": ".input {$foo :number} {{bar {$foo}}}",

0 commit comments

Comments
 (0)