Skip to content

Commit a7775b0

Browse files
committed
Fix lint error
1 parent abff3c8 commit a7775b0

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
@@ -62,7 +62,7 @@ func login(t *testing.T) config.Root {
6262
coderdtest.CreateFirstUser(t, client)
6363

6464
doneChan := make(chan struct{})
65-
root, config := clitest.New(t, "login", "--force-tty", client.URL.String(), "--no-open")
65+
root, cfg := clitest.New(t, "login", "--force-tty", client.URL.String(), "--no-open")
6666
pty := ptytest.New(t)
6767
root.SetIn(pty.Input())
6868
root.SetOut(pty.Output())
@@ -77,5 +77,5 @@ func login(t *testing.T) config.Root {
7777
pty.ExpectMatch("Welcome to Coder")
7878
<-doneChan
7979

80-
return config
80+
return cfg
8181
}

0 commit comments

Comments
 (0)