Skip to content

Commit 4316419

Browse files
committed
Add failing heredoc test
1 parent 868e696 commit 4316419

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class Heredoc < Phlex::HTML
2+
def view_template
3+
unknown {
4+
p { <<~TXT }
5+
This is a heredoc.
6+
It has multiple lines of text.
7+
And it's all going in this <p> tag.
8+
TXT
9+
}
10+
end
11+
12+
def unknown
13+
yield
14+
end
15+
end

0 commit comments

Comments
 (0)