mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Added parseExpression test for literals
This commit is contained in:
parent
1c37a6f56c
commit
39c5fa1e0a
4
test/fixtures/parseExpression/autotest/literal-number/expected.json
vendored
Normal file
4
test/fixtures/parseExpression/autotest/literal-number/expected.json
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "Literal",
|
||||||
|
"value": 123
|
||||||
|
}
|
||||||
1
test/fixtures/parseExpression/autotest/literal-number/input.txt
vendored
Normal file
1
test/fixtures/parseExpression/autotest/literal-number/input.txt
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
123
|
||||||
4
test/fixtures/parseExpression/autotest/literal-string/expected.json
vendored
Normal file
4
test/fixtures/parseExpression/autotest/literal-string/expected.json
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"type": "Literal",
|
||||||
|
"value": "foo"
|
||||||
|
}
|
||||||
1
test/fixtures/parseExpression/autotest/literal-string/input.txt
vendored
Normal file
1
test/fixtures/parseExpression/autotest/literal-string/input.txt
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
"foo"
|
||||||
Loading…
x
Reference in New Issue
Block a user