Adding a manually written filters test for more specific testing.
The generated one is more for brute forcing compliance.
This commit is contained in:
parent
c81a0c5001
commit
894da51916
14
js/test_cases/filters/input1.json
Normal file
14
js/test_cases/filters/input1.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"string": "{\"foo\": \"bar\"}",
|
||||
"integer": 4,
|
||||
"float": 7.4,
|
||||
"boolean": true,
|
||||
"null": null,
|
||||
"array": [
|
||||
"foo",
|
||||
"bar"
|
||||
],
|
||||
"object": {
|
||||
"foo": "bar"
|
||||
}
|
||||
}
|
3
js/test_cases/filters/main.dust
Normal file
3
js/test_cases/filters/main.dust
Normal file
@ -0,0 +1,3 @@
|
||||
Object parsed: {string|jp}{~n}
|
||||
Object parsed and stringified: {string|jp|js}{~n}
|
||||
Object stringified and parsed: {string|js|jp}{~n}
|
Loading…
x
Reference in New Issue
Block a user