1
0
Fork 0
mirror of https://github.com/Oreolek/ink-instead.git synced 2024-05-13 14:38:24 +03:00
ink-instead/test/parser/glue.lua
2017-08-09 11:36:14 +02:00

23 lines
697 B
Lua

return {
ink=[[
* "Monsieur, let us savour this moment!"[] I declared.
My master clouted me firmly around the head and dragged me out of the door. <>
-> dragged_outside
* [We hurried home] -> hurry_outside
=== as_fast_as_we_could ===
<> as fast as we could.
]],
expected={
{"option", 1, '"Monsieur, let us savour this moment!"', "", " I declared."},
{"para", "My master clouted me firmly around the head and dragged me out of the door. " },
{"glue"},
{"divert", "dragged_outside"},
{"option", 1, "", "We hurried home", " "},
{"divert", "hurry_outside"},
{"knot", "as_fast_as_we_could"},
{"glue"},
{"para", "as fast as we could."} -- TODO should be space before 'as'
}
}