mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Additional test for empty attributes
This commit is contained in:
parent
fd2b445544
commit
3fb36e8094
16
test/fixtures/parser/autotest/empty-attr/expected.json
vendored
Normal file
16
test/fixtures/parser/autotest/empty-attr/expected.json
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "TemplateRoot",
|
||||||
|
"body": [
|
||||||
|
{
|
||||||
|
"type": "HtmlElement",
|
||||||
|
"tagName": "div",
|
||||||
|
"attributes": [
|
||||||
|
{
|
||||||
|
"type": "HtmlAttribute",
|
||||||
|
"name": "w-bind"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"body": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
1
test/fixtures/parser/autotest/empty-attr/template.marko
vendored
Normal file
1
test/fixtures/parser/autotest/empty-attr/template.marko
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<div w-bind></div>
|
||||||
Loading…
x
Reference in New Issue
Block a user