Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint error
  • Loading branch information
AbhineetJain committed May 23, 2022
commit a7775b02ac6f21012cf22a19d4458224dd51535d
4 changes: 2 additions & 2 deletions cli/logout_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func login(t *testing.T) config.Root {
coderdtest.CreateFirstUser(t, client)

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

return config
return cfg
}