File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -325,14 +325,9 @@ Describe 'tests for function expressions' {
325
325
@ { expression = " [string('hello')]" ; expected = ' hello' }
326
326
@ { expression = " [string(123)]" ; expected = ' 123' }
327
327
@ { expression = " [string(true)]" ; expected = ' true' }
328
- @ { expression = " [string(null)]" ; expected = ' null' }
329
- @ { expression = " [string(createArray('a', 1))]" ; expected = ' [
330
- "a",
331
- 1
332
- ]' }
333
- @ { expression = " [string(createObject('a', 1))]" ; expected = ' {
334
- "a": 1
335
- }' }
328
+ @ { expression = " [string(null())]" ; expected = ' null' }
329
+ @ { expression = " [string(createArray('a', 'b'))]" ; expected = ' ["a","b"]' }
330
+ @ { expression = " [string(createObject('a', 1))]" ; expected = ' {"a":1}' }
336
331
) {
337
332
param ($expression , $expected )
338
333
You can’t perform that action at this time.
0 commit comments