1
0
Fork 0
mirror of https://github.com/Oreolek/ink-instead.git synced 2024-05-12 22:18:26 +03:00
ink-instead/test/parser/nested2.lua
2017-08-09 11:36:14 +02:00

21 lines
552 B
Lua

return {
ink=[[
"Well, Poirot? Murder or suicide?"
* "Murder"
"And who did it?"
* * "Detective-Inspector Japp!"
* * "Captain Hastings!"
* * "Myself!"
* "Suicide"
]],
expected = {
{"para", '"Well, Poirot? Murder or suicide?"'},
{"option", 1, '"Murder"', "", ""},
{"para", '"And who did it?"'},
{"option", 2, '"Detective-Inspector Japp!"', "", ""},
{"option", 2, '"Captain Hastings!"', "", ""},
{"option", 2, '"Myself!"', "", ""},
{"option", 1, '"Suicide"', "", ""}
}
}