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 9fb4951 commit 2f7d118Copy full SHA for 2f7d118
cli/cli_test.go
@@ -8,16 +8,8 @@ import (
8
9
var c *cli.Readline
10
11
-func TestInitPrompt(t *testing.T) {
12
- c = cli.Init("local", "test")
13
- p := c.GetPrompt()
14
- if p != "local" {
15
- t.Error("Init cli prompt failed")
16
- }
17
-}
18
-
19
func TestSetPrompt(t *testing.T) {
20
+ c = cli.Init("test")
21
c.SetPrompt("mylg")
22
p := c.GetPrompt()
23
if p != "mylg" {
0 commit comments