So siehts ganz gut aus !
This commit is contained in:
58
node_modules/pug-linker/test/errors/unexpected-block.input.json
generated
vendored
Normal file
58
node_modules/pug-linker/test/errors/unexpected-block.input.json
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"type": "Block",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "Extends",
|
||||
"file": {
|
||||
"type": "FileReference",
|
||||
"path": "../fixtures/empty.pug",
|
||||
"line": 1,
|
||||
"filename": "unexpected-block.pug",
|
||||
"fullPath": "../fixtures/empty.pug",
|
||||
"str": "",
|
||||
"ast": {
|
||||
"type": "Block",
|
||||
"nodes": [],
|
||||
"line": 0,
|
||||
"filename": "../fixtures/empty.pug"
|
||||
}
|
||||
},
|
||||
"line": 1,
|
||||
"filename": "unexpected-block.pug"
|
||||
},
|
||||
{
|
||||
"type": "NamedBlock",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "Tag",
|
||||
"name": "div",
|
||||
"selfClosing": false,
|
||||
"block": {
|
||||
"type": "Block",
|
||||
"nodes": [
|
||||
{
|
||||
"type": "Text",
|
||||
"val": "Hello World",
|
||||
"line": 4,
|
||||
"filename": "unexpected-block.pug"
|
||||
}
|
||||
],
|
||||
"line": 4,
|
||||
"filename": "unexpected-block.pug"
|
||||
},
|
||||
"attrs": [],
|
||||
"attributeBlocks": [],
|
||||
"isInline": false,
|
||||
"line": 4,
|
||||
"filename": "unexpected-block.pug"
|
||||
}
|
||||
],
|
||||
"line": 3,
|
||||
"filename": "unexpected-block.pug",
|
||||
"name": "foo",
|
||||
"mode": "replace"
|
||||
}
|
||||
],
|
||||
"line": 0,
|
||||
"filename": "unexpected-block.pug"
|
||||
}
|
||||
Reference in New Issue
Block a user