chore: tweak package name

This commit is contained in:
Steven
2024-05-06 07:18:54 +08:00
parent da535c8dc6
commit dfc0889a4f
9 changed files with 14 additions and 17 deletions

View File

@ -0,0 +1,19 @@
package httpgetter
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetHTMLMeta(t *testing.T) {
tests := []struct {
urlStr string
htmlMeta HTMLMeta
}{}
for _, test := range tests {
metadata, err := GetHTMLMeta(test.urlStr)
require.NoError(t, err)
require.Equal(t, test.htmlMeta, *metadata)
}
}