Skip to content

Commit

Permalink
update parseURL expected output because parse error format has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
d98762625 committed Mar 27, 2020
1 parent 7c265ed commit 57592b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/pkg/amqp/url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ func ExampleParseURL() {
"amqps://host",
"/path",
"",
":1234",
// Taken out because the go 1.4 URL parser isn't the same as later
// Taken out because url.Parse error formatting changed in 1.13
// ":1234",
// Taken out because the go 1.4 URL parser isn't the same as later
//"[::1]",
//"[::1",
// Output would be:
Expand All @@ -55,5 +56,4 @@ func ExampleParseURL() {
// amqps://host:amqps
// amqp://localhost:amqp/path
// amqp://localhost:amqp
// parse :1234: missing protocol scheme
}

0 comments on commit 57592b9

Please sign in to comment.