X Tutup
Skip to content

Commit 36b2d3f

Browse files
committed
ensure that config is not written
1 parent ba2b8d5 commit 36b2d3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/cmd/auth/status/status_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ func Test_statusRun(t *testing.T) {
290290
assert.True(t, tt.wantErrOut.MatchString(stderr.String()))
291291
}
292292

293+
assert.Equal(t, "", mainBuf.String())
294+
assert.Equal(t, "", hostsBuf.String())
295+
293296
reg.Verify(t)
294297
})
295298
}

0 commit comments

Comments
 (0)
X Tutup