diff --git a/test/81-block-nested/expect.err b/test/81-block-nested/expect.err new file mode 100644 index 0000000..89f3cce --- /dev/null +++ b/test/81-block-nested/expect.err @@ -0,0 +1 @@ +test/81-block-nested/input:14: error: #defblocks cannot be nested diff --git a/test/81-block-nested/expect.out b/test/81-block-nested/expect.out new file mode 100644 index 0000000..e69de29 diff --git a/test/81-block-nested/expect.status b/test/81-block-nested/expect.status new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/test/81-block-nested/expect.status @@ -0,0 +1 @@ +1 diff --git a/test/81-block-nested/input b/test/81-block-nested/input new file mode 100644 index 0000000..56efd4b --- /dev/null +++ b/test/81-block-nested/input @@ -0,0 +1,18 @@ +#defblock lorem +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Diam sit amet nisl suscipit +adipiscing bibendum est ultricies. Vitae ultricies leo integer malesuada nunc +vel risus. Ornare massa eget egestas purus viverra accumsan in nisl +nisi. Malesuada fames ac turpis egestas. Sit amet consectetur adipiscing +elit. Elit ut aliquam purus sit amet luctus venenatis. Sed viverra tellus in hac +habitasse. Sollicitudin aliquam ultrices sagittis orci a scelerisque +purus. Cursus metus aliquam eleifend mi in nulla posuere sollicitudin. Vel risus +commodo viverra maecenas accumsan. Posuere lorem ipsum dolor sit amet +consectetur adipiscing. Malesuada fames ac turpis egestas integer eget aliquet +nibh. Consectetur adipiscing elit ut aliquam purus. Nulla aliquet porttitor +lacus luctus accumsan tortor posuere. +#defblock nested +block nested in lorem +#endblock +#endblock +#useblock lorem