Skip to content

Commit

Permalink
amazonaws: fix ip test (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdoxsey committed Mar 5, 2024
1 parent 4b668d3 commit 8bdca41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wellknownips/amazonaws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ func TestFetchAmazonAWSIPRanges(t *testing.T) {
ranges, err := FetchAmazonAWSIPRanges(ctx, client, DefaultAmazonAWSIPRangesURL)
assert.NoError(t, err)
if assert.NotNil(t, ranges) && assert.Greater(t, len(ranges.Prefixes), 0) {
assert.Equal(t, "3.2.34.0/26", ranges.Prefixes[0].IPPrefix)
assert.Equal(t, "3.5.140.0/22", ranges.Prefixes[0].IPPrefix)
}
}

0 comments on commit 8bdca41

Please sign in to comment.