aboutsummaryrefslogtreecommitdiff
path: root/client_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client_test.go')
-rw-r--r--client_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/client_test.go b/client_test.go
index 94a0b4f..dd6f730 100644
--- a/client_test.go
+++ b/client_test.go
@@ -16,10 +16,10 @@ func TestApiClient_Lookup_offline(t *testing.T) {
client := NewClient(testServerAPI)
cases := []struct {
- desc string
- words []string
exp kbbi.LookupResponse
+ desc string
expError string
+ words []string
}{{
desc: `With empty input`,
}, {
@@ -60,10 +60,10 @@ func TestApiClient_Lookup_online(t *testing.T) {
client := NewClient(testServerAPI)
cases := []struct {
- desc string
- words []string
exp kbbi.LookupResponse
expError string
+ desc string
+ words []string
}{{
desc: `With empty input`,
}, {