-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
122f529
commit c8a9fa4
Showing
5 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,7 +135,7 @@ namespace: org/{{.Username}} | |
version: 2.3.4 | ||
description: im-a-description | ||
authors: | ||
- name: author-name | ||
- name: author-name | ||
email: [email protected] | ||
`), | ||
nil, | ||
|
@@ -168,7 +168,7 @@ namespace: org/{{.Username}} | |
version: 2.3.4 | ||
description: im-a-description | ||
authors: | ||
- name: author-name | ||
- name: author-name | ||
email: [email protected] | ||
`), | ||
nil, | ||
|
@@ -202,7 +202,7 @@ namespace: org/{{.Username}} | |
version: 2.3.4 | ||
description: im-a-description | ||
authors: | ||
- name: author-name | ||
- name: author-name | ||
email: [email protected] | ||
`), | ||
true, | ||
|
@@ -363,7 +363,7 @@ authors: | |
} | ||
|
||
cp := ts.SpawnWithOpts( | ||
e2e.WithArgs(append([]string{"publish"}, args...)...), | ||
e2e.OptArgs(append([]string{"publish"}, args...)...), | ||
) | ||
|
||
if inv.expect.immediateOutput != "" { | ||
|
@@ -398,7 +398,7 @@ authors: | |
|
||
cp.Expect("Y/n") | ||
|
||
snapshot := cp.MatchState().TermState.String() | ||
snapshot := cp.Snapshot() | ||
rx := regexp.MustCompile(`(?s)Publish following ingredient\?(.*)\(Y/n`) | ||
match := rx.FindSubmatch([]byte(snapshot)) | ||
suite.Require().NotNil(match, fmt.Sprintf("Could not match '%s' against: %s", rx.String(), snapshot)) | ||
|