Skip to content

Commit

Permalink
Fixing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jasimmk authored and 6uhrmittag committed Oct 2, 2021
1 parent b61cee4 commit a24045c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/prompt/prompt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestNewBooleanPromptFunc(t *testing.T) {

expectedPromptMsg := "Please choose a value for \"fieldName\""
if msg != expectedPromptMsg {
t.Errorf("boolPrompt(%q).PromptMessage(%q) expected %q got %q", defval, name, expectedPromptMsg, msg)
t.Errorf("boolPrompt((%v).PromptMessage(%q) expected %q got %q", defval, name, expectedPromptMsg, msg)
}

choiceCases := []struct {
Expand All @@ -73,7 +73,7 @@ func TestNewBooleanPromptFunc(t *testing.T) {
for _, c := range choiceCases {
val, err := boolPrompt.EvaluateChoice(c.choice)
if err != nil {
t.Errorf("boolPrompt(%q).EvaluateChoice(%q) got error %q", defval, c.choice, err)
t.Errorf("boolPrompt(%v).EvaluateChoice(%q) got error %q", defval, c.choice, err)
continue
}

Expand Down

0 comments on commit a24045c

Please sign in to comment.