Skip to content

Commit

Permalink
refactor: use Skip() for skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed Nov 28, 2023
1 parent 78d0d11 commit c631842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/upload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ func (suite *TestSuite) TestRecursiveToDifferentTarget() {

func (suite *TestSuite) TestUploadInvalidCharacters() {
// Filenames with :\?* can not be created on windows
if runtime.GOOS == "windows" {
return
if runtime.GOOS != "windows" {
suite.T().Skip("Skipping. Cannot create filenames with invalid characters on windows")
}

// Create a fake s3 backend
Expand Down

0 comments on commit c631842

Please sign in to comment.