Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kislaykishore committed Jun 18, 2024
1 parent fd11651 commit 1ea634e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package main

import (
"os"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -48,6 +49,7 @@ func TestPosixFlagsConversion(t *testing.T) {
},
}
for _, tc := range data {
os.Setenv("ENABLE_GCSFUSE_VIPER_CONFIG", "true")
t.Run(tc.name, func(t *testing.T) {
assert.Equal(t, tc.expected, convertToPosixArgs(tc.input))
})
Expand Down

0 comments on commit 1ea634e

Please sign in to comment.