From 7e4cf39a0ba6ccbd5cc036700a8b1ff9358ecc3d Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Thu, 10 Aug 2023 18:18:01 +0200 Subject: improve --- scrape/query_test.go | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 scrape/query_test.go (limited to 'scrape/query_test.go') diff --git a/scrape/query_test.go b/scrape/query_test.go deleted file mode 100644 index 0e8423d..0000000 --- a/scrape/query_test.go +++ /dev/null @@ -1,23 +0,0 @@ -package scrape - -import ( - "testing" - - "github.com/stretchr/testify/require" -) - -func TestQuery(t *testing.T) { - html := ` - -

Page Title

-
-
First post
-
Second post
-
Third post
-
- -` - - title := Query(Doc(html), "#title") - require.Equal(t, title, "Page Title") -} -- cgit v1.2.3