Skip to content

Commit

Permalink
Merge pull request #54 from xushiwei/q
Browse files Browse the repository at this point in the history
zipped html
  • Loading branch information
xushiwei committed May 18, 2024
2 parents ddb9869 + 2e05082 commit 071f39f
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 916 deletions.
Binary file added _testdata/text/eyesig/data.zip
Binary file not shown.
2 changes: 0 additions & 2 deletions _testdata/text/eyesig/in.html

This file was deleted.

Binary file added fetcher/torch/_testdata/eye/data.zip
Binary file not shown.
909 changes: 0 additions & 909 deletions fetcher/torch/_testdata/eye/in.html

This file was deleted.

Binary file added fetcher/torch/_testdata/invalid/data.zip
Binary file not shown.
3 changes: 0 additions & 3 deletions fetcher/torch/_testdata/invalid/in.html

This file was deleted.

4 changes: 2 additions & 2 deletions hdq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ func textOf(_ string, doc hdq.NodeSet) (ret string) {
}

func TestText(t *testing.T) {
hdqtest.FromDir(t, "", "./_testdata/text", textOf)
hdqtest.FromDir(t, "", "./_testdata/text", textOf, "data.zip#index.htm", "zip")
}

func TestGithub(t *testing.T) {
hdqtest.FromDir(t, "", "./_testdata/github", repos.New, "data.zip#index.htm", "zip")
}

func TestTorch(t *testing.T) {
hdqtest.FromDir(t, "", "./fetcher/torch/_testdata", torch.New)
hdqtest.FromDir(t, "", "./fetcher/torch/_testdata", torch.New, "data.zip#index.htm", "zip")
}

func TestSource(t *testing.T) {
Expand Down

0 comments on commit 071f39f

Please sign in to comment.