summaryrefslogtreecommitdiff
path: root/href_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:57:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:57:48 +0200
commitb5503bf57a269205bcb6cc035a2ff1603e425755 (patch)
tree795401538a1b8644ab47075ac893465bbfa8152d /href_test.go
parent621e49bb465f500cc46d47e39e828cf76d6381d7 (diff)
add deep nested html fixture
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) {