Skip to content

Commit 6c6f644

Browse files
Adds fixture
1 parent 791e93b commit 6c6f644

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

rules/req-mailto/fixture/error.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<a href="example@example.com">example@example.com</a>
2+
3+
<a href="#!">contact@example.com</a>
4+
5+
<a href="http://example.com">user@example.com</a>
6+
7+
<a href="/contact">support@example.com</a>
8+
9+
<a>admin@example.com</a>
10+
11+
<a href="javascript:void(0);">info@example.com</a>

rules/req-mailto/fixture/success.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<a href="mailto:">example@example.com</a>
2+
3+
<a href="mailto:example@com">example@com</a>
4+
5+
<a href="mailto:example@example.com">Click here</a>
6+
7+
<a href="mailto:example@example.com">example@example.com</a>
8+
9+
<a href="mailto:example@example.com" onclick="someFunction();">example@example.com</a>

0 commit comments

Comments
 (0)