Skip to content

Commit

Permalink
Fix failiing test
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Mar 14, 2024
1 parent 2fcb774 commit d462a97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/s3uri/s3uri_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func TestS3URI(t *testing.T) {

result, err = s3u.ParseString("https://google.com") //) // invalid S3 endpoint
require.Error(t, err)
require.NotNil(t, result)
require.Nil(t, result)
// t.Log(result)

result, err = s3u.ParseString("https://test123.s3.amazonaws.com/key456?versionId=123456&x=1&y=2&y=3;z")
Expand Down Expand Up @@ -144,6 +144,6 @@ func TestS3URI(t *testing.T) {

result, err = ParseString("ftp://google.com/")
require.Error(t, err)
require.NotNil(t, result)
require.Nil(t, result)
// t.Log(result)
}

0 comments on commit d462a97

Please sign in to comment.