Skip to content

Commit 57592b9

Browse files
committed
update parseURL expected output because parse error format has changed
1 parent 7c265ed commit 57592b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/pkg/amqp/url_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ func ExampleParseURL() {
3232
"amqps://host",
3333
"/path",
3434
"",
35-
":1234",
36-
// Taken out because the go 1.4 URL parser isn't the same as later
35+
// Taken out because url.Parse error formatting changed in 1.13
36+
// ":1234",
37+
// Taken out because the go 1.4 URL parser isn't the same as later
3738
//"[::1]",
3839
//"[::1",
3940
// Output would be:
@@ -55,5 +56,4 @@ func ExampleParseURL() {
5556
// amqps://host:amqps
5657
// amqp://localhost:amqp/path
5758
// amqp://localhost:amqp
58-
// parse :1234: missing protocol scheme
5959
}

0 commit comments

Comments
 (0)