Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
fix variable naming in a test in id_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
schrej committed May 15, 2018
1 parent 662efa0 commit 7679086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions id_test.go
Expand Up @@ -11,8 +11,8 @@ func TestIDMarshalJSON(t *testing.T) {
id := ID(10018820)
buf := bytes.NewBuffer(nil)
json.NewEncoder(buf).Encode(id)
got := `"000000000098e004"`
want := strings.TrimSpace(buf.String())
want := `"000000000098e004"`
got := strings.TrimSpace(buf.String())
if got != want {
t.Errorf("got %v, want %v", got, want)
}
Expand Down

0 comments on commit 7679086

Please sign in to comment.