Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2517319

Browse files
committed
Revert console -> testConsole change if linter is cool with it
1 parent 1a7393b commit 2517319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/clitest/clitest_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ func TestCli(t *testing.T) {
2121
client := coderdtest.New(t)
2222
cmd, config := clitest.New(t)
2323
clitest.SetupConfig(t, client, config)
24-
testConsole := console.New(t, cmd)
24+
console := console.New(t, cmd)
2525
go func() {
2626
err := cmd.Execute()
2727
require.NoError(t, err)
2828
}()
29-
_, err := testConsole.ExpectString("coder")
29+
_, err := console.ExpectString("coder")
3030
require.NoError(t, err)
3131
}

0 commit comments

Comments
 (0)