diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-06 17:44:13 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-06 17:44:13 +0700 |
| commit | 3245b00f0246f7f2f0afd8635cfd3ff9bf2cf584 (patch) | |
| tree | 286817224a5d72569e4db335578b3549f566deda /api_client_test.go | |
| parent | 6c7bfd42bc1128f5969e9e40b23d6b828601f7cb (diff) | |
| download | kamusku-3245b00f0246f7f2f0afd8635cfd3ff9bf2cf584.tar.xz | |
all: replace "share" module with "pakakeh.go"
The "share" module has been moved to new forge, SourceHut, with new name
"pakakeh.go".
Diffstat (limited to 'api_client_test.go')
| -rw-r--r-- | api_client_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/api_client_test.go b/api_client_test.go index 46dac0c..e3d21c5 100644 --- a/api_client_test.go +++ b/api_client_test.go @@ -8,7 +8,7 @@ import ( "testing" "git.sr.ht/~shulhan/kamusku" - "github.com/shuLhan/share/lib/test" + "git.sr.ht/~shulhan/pakakeh.go/lib/test" ) func TestApiClient_Lookup_offline(t *testing.T) { @@ -45,11 +45,11 @@ func TestApiClient_Lookup_offline(t *testing.T) { got, err := client.Lookup(c.words) if err != nil { - test.Assert(t, "error", c.expError, err.Error(), true) + test.Assert(t, `error`, c.expError, err.Error()) continue } - test.Assert(t, "kamusku.LookupResponse", c.exp, got, true) + test.Assert(t, `kamusku.LookupResponse`, c.exp, got) } } @@ -98,7 +98,7 @@ func TestApiClient_Lookup_online(t *testing.T) { got, err := client.Lookup(c.words) if err != nil { - test.Assert(t, "error", c.expError, err.Error(), true) + test.Assert(t, `error`, c.expError, err.Error()) continue } @@ -106,6 +106,6 @@ func TestApiClient_Lookup_online(t *testing.T) { t.Logf("got: %s = %+v", k, v) } - test.Assert(t, "LookupResponse", c.exp, got, true) + test.Assert(t, `LookupResponse`, c.exp, got) } } |
