Skip to content

Commit a19e092

Browse files
committed
try different file mode on windows
1 parent c38a0f5 commit a19e092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/logout_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ func TestLogout(t *testing.T) {
138138
// Changing the permissions to throw error during deletion.
139139
var err error
140140
if runtime.GOOS == "windows" {
141-
err = os.Chmod(string(config.URL()), 0400)
141+
err = os.Chmod(string(config.URL()), 0200)
142142
require.NoError(t, err)
143-
err = os.Chmod(string(config.Session()), 0400)
143+
err = os.Chmod(string(config.Session()), 0200)
144144
require.NoError(t, err)
145145
} else {
146146
err = os.Chmod(string(config), 0500)

0 commit comments

Comments
 (0)