Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
TestAsk: ensure vi is used in Editor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cben committed May 11, 2021
1 parent 5f955c1 commit 4f2841d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions survey_test.go
Expand Up @@ -150,12 +150,14 @@ func TestAsk(t *testing.T) {
{
Name: "commit-message",
Prompt: &Editor{
Editor: "vi",
Message: "Edit git commit message",
},
},
{
Name: "commit-message-validated",
Prompt: &Editor{
Editor: "vi",
Message: "Edit git commit message",
},
Validate: func(v interface{}) error {
Expand Down

0 comments on commit 4f2841d

Please sign in to comment.