diff options
Diffstat (limited to 'bilibili/request_test.go')
-rw-r--r-- | bilibili/request_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bilibili/request_test.go b/bilibili/request_test.go index ed7d33e..4581084 100644 --- a/bilibili/request_test.go +++ b/bilibili/request_test.go @@ -2,6 +2,7 @@ package bilibili import ( "github.com/keuin/slbr/logging" + "github.com/keuin/slbr/types" "log" "testing" ) @@ -9,7 +10,7 @@ import ( func Test_callGet(t *testing.T) { // an always-fail request should not panic bi := NewBilibili(logging.NewWrappedLogger(log.Default(), "main")) - _, err := callGet[BaseResponse[struct{}]](bi, "https://256.256.256.256") + _, err := callGet[types.BaseResponse[struct{}]](bi, "https://256.256.256.256") if err == nil { t.Fatalf("the artificial request should fail, but it haven't") } |