Skip to content

Commit e540525

Browse files
committed
Remove duplicate doctype test
1 parent 1d33b21 commit e540525

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

β€Žtest/parser/doctype_test.rbβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DoctypeTest < Minitest::Spec
2727
end
2828

2929
test "doctype case insensitivity" do
30-
doctypes = ["<!DOCTYPE>", "<!doctype>", "<!DoCtYpE>", "<!dOcTyPe>"]
30+
doctypes = ["<!docTYPE>", "<!DOCtype>", "<!doctype>", "<!DoCtYpE>", "<!dOcTyPe>"]
3131

3232
doctypes.each do |doctype|
3333
assert_parsed_snapshot(doctype)

test/snapshots/parser/doctype_test/test_0006_doctype_case_insensitivity_d50c7b32f19e4848938905f3dc675f44.txt renamed to test/snapshots/parser/doctype_test/test_0001_doctype_d50c7b32f19e4848938905f3dc675f44.txt

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@ DocumentNode (location: (0,0)-(0,0))
2+
β”œβ”€β”€ name: βˆ…
3+
└── children: (1)
4+
@ Doctype (location: (0,0)-(0,0))
5+
β”œβ”€β”€ name: ""
6+
└── children: []
7+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@ DocumentNode (location: (0,0)-(0,0))
2+
β”œβ”€β”€ name: βˆ…
3+
└── children: (1)
4+
@ Doctype (location: (0,0)-(0,0))
5+
β”œβ”€β”€ name: ""
6+
└── children: []
7+

0 commit comments

Comments
Β (0)