Skip to content

Commit fa20a47

Browse files
committed
Add test code
1 parent 9f234e9 commit fa20a47

File tree

1 file changed

+26
-0
lines changed
  • ruby/ql/test/library-tests/frameworks/action_view

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<%=
2+
3+
simple_format(x, y, sanitize: true)
4+
simple_format(x, y, sanitize: false)
5+
6+
truncate(x, escape: true)
7+
truncate(x, escape: false)
8+
9+
highlight(x, sanitize: true)
10+
highlight(x, sanitize: false)
11+
12+
javascript_tag(x)
13+
14+
content_tag(x, y, z, true)
15+
content_tag(x, y, z, false)
16+
17+
tag(x, y, z, true)
18+
tag(x, y, z, false)
19+
20+
tag.h1(x, escape: true)
21+
tag.h1(x, escape: false)
22+
23+
tag.p(x, escape: true)
24+
tag.p(x, escape: false)
25+
26+
%>

0 commit comments

Comments
 (0)