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 c76b789 commit 218bd91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions survey_test.go
Original file line number Diff line number Diff line change
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 218bd91

Please sign in to comment.