Skip to content

Commit 48f3d48

Browse files
committed
add some test cases for checking against spurious flow into ERB templates
1 parent 7270fe0 commit 48f3d48

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<%# This file is not rendered. There should be no flow into it. %>
2+
3+
<%= display_text.html_safe %>
4+
<%= local_assigns[:display_text].html_safe %>
5+
<%= @instance_text.html_safe %>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<%# This file is not rendered. There should be no flow into it. %>
2+
3+
<%= display_text.html_safe %>
4+
<%= local_assigns[:display_text].html_safe %>
5+
<%= @instance_text.html_safe %>

0 commit comments

Comments
 (0)