Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7393b commit 2517319Copy full SHA for 2517319
cli/clitest/clitest_test.go
@@ -21,11 +21,11 @@ func TestCli(t *testing.T) {
21
client := coderdtest.New(t)
22
cmd, config := clitest.New(t)
23
clitest.SetupConfig(t, client, config)
24
- testConsole := console.New(t, cmd)
+ console := console.New(t, cmd)
25
go func() {
26
err := cmd.Execute()
27
require.NoError(t, err)
28
}()
29
- _, err := testConsole.ExpectString("coder")
+ _, err := console.ExpectString("coder")
30
31
}
0 commit comments