summaryrefslogtreecommitdiff
path: root/href_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'href_test.go')
-rw-r--r--href_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/href_test.go b/href_test.go
index bb02a1b..fb4667c 100644
--- a/href_test.go
+++ b/href_test.go
@@ -32,6 +32,11 @@ func TestTitle(t *testing.T) {
`OpenBSD Journal: A resource for the OpenBSD community`,
`text/html`,
},
+ {
+ `testdata/deepnested.html`,
+ `!`,
+ `text/html`,
+ },
}
for _, tc := range testCases {
t.Run(tc.fixture, func(t *testing.T) {