Fix browser URL test on Windows
This commit is contained in:
parent
dc1fad9cb0
commit
df2ca9c9f9
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ func TestIssueCreate_continueInBrowser(t *testing.T) {
|
|||
if seenCmd == nil {
|
||||
t.Fatal("expected a command to run")
|
||||
}
|
||||
url := seenCmd.Args[len(seenCmd.Args)-1]
|
||||
url := strings.ReplaceAll(seenCmd.Args[len(seenCmd.Args)-1], "^", "")
|
||||
assert.Equal(t, "https://github.com/OWNER/REPO/issues/new?body=body&title=hello", url)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue