Skip to content

Commit

Permalink
added test case to issue-45
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneSpiteri committed Jun 4, 2022
1 parent 4971bc5 commit 8178638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ func TestUser(t *testing.T) {
u, err = api.User(":42")
assert.NoError(t, err)
assert.Equal(t, &User{}, u)

u, err = api.User("key:42")
assert.NoError(t, err)
assert.Equal(t, &User{}, u)
}

0 comments on commit 8178638

Please sign in to comment.