Skip to content

Commit

Permalink
lint e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
NajiObeid committed Mar 5, 2024
1 parent 35c407d commit d56af8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/geoipupdate/end_to_end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func TestClient(t *testing.T) {
w.Close()
out, err := io.ReadAll(r)
require.NoError(t, err)
//nolint:lll
expectedOutput := `\[{"edition_id":"edition\-1","old_hash":"618dd27a10de24809ec160d6807f363f","new_hash":"618dd27a10de24809ec160d6807f363f","checked_at":\d+},{"edition_id":"edition\-2","old_hash":"2242f06b3b2d147987b67017cb7a5ab8","new_hash":"c9bbf7cb507370339633b44001bae038","modified_at":1708646400,"checked_at":\d+}]`
require.Regexp(t, expectedOutput, string(out))

Expand Down

0 comments on commit d56af8b

Please sign in to comment.