From c6f30601f28941d3109e902252c4816063070ec9 Mon Sep 17 00:00:00 2001 From: Scott Brady Date: Thu, 19 Sep 2013 11:09:43 -0700 Subject: [PATCH] Test demonstrating block append bug. --- test/cases/auxiliary/append.jade | 4 ++++ test/cases/auxiliary/layout.include.append.jade | 5 +++++ test/cases/layout.append.include.html | 9 +++++++++ test/cases/layout.append.include.jade | 4 ++++ 4 files changed, 22 insertions(+) create mode 100644 test/cases/auxiliary/append.jade create mode 100644 test/cases/auxiliary/layout.include.append.jade create mode 100644 test/cases/layout.append.include.html create mode 100644 test/cases/layout.append.include.jade diff --git a/test/cases/auxiliary/append.jade b/test/cases/auxiliary/append.jade new file mode 100644 index 000000000..ca11d65da --- /dev/null +++ b/test/cases/auxiliary/append.jade @@ -0,0 +1,4 @@ +script(src="foo.js") + +block append content + p bar \ No newline at end of file diff --git a/test/cases/auxiliary/layout.include.append.jade b/test/cases/auxiliary/layout.include.append.jade new file mode 100644 index 000000000..a054d6315 --- /dev/null +++ b/test/cases/auxiliary/layout.include.append.jade @@ -0,0 +1,5 @@ +html + head + include append + body + block content \ No newline at end of file diff --git a/test/cases/layout.append.include.html b/test/cases/layout.append.include.html new file mode 100644 index 000000000..0ddadd3a3 --- /dev/null +++ b/test/cases/layout.append.include.html @@ -0,0 +1,9 @@ + + + + + +

bar

+

baz

+ + \ No newline at end of file diff --git a/test/cases/layout.append.include.jade b/test/cases/layout.append.include.jade new file mode 100644 index 000000000..544af6152 --- /dev/null +++ b/test/cases/layout.append.include.jade @@ -0,0 +1,4 @@ +extends auxiliary/layout.include.append + +block append content + p baz \ No newline at end of file