Skip to content

Commit a69787f

Browse files
committed
test(no-unused-class-name): added a test with an invalid style language
1 parent 66e17c2 commit a69787f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div class="container">
2+
<div class="div-class">Hello</div>
3+
4+
<span class="span-class">World!</span>
5+
</div>
6+
7+
<style>
8+
// This syntax is intentionally invalid CSS - this is to be used to test resiliency against invalid input
9+
.container {
10+
class .div-class/35
11+
# Weird comment
12+
color: red;
13+
14+
.span-class begin
15+
font-weight: bold;
16+
end
17+
}
18+
</style>

0 commit comments

Comments
 (0)