qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject [3/4] qpid-proton git commit: PROTON-1303: Comment out examples that give different output for go 1.4
Date Fri, 16 Sep 2016 16:04:27 GMT
PROTON-1303: Comment out examples that give different output for go 1.4


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/88e4f076
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/88e4f076
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/88e4f076

Branch: refs/heads/master
Commit: 88e4f076b97375a4ab79240f38d5eb4a4930d41f
Parents: b8acb8a
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Fri Sep 16 10:45:22 2016 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Fri Sep 16 11:55:23 2016 -0400

----------------------------------------------------------------------
 proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/88e4f076/proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go
----------------------------------------------------------------------
diff --git a/proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go b/proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go
index 29edb98..f52d4bf 100644
--- a/proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go
+++ b/proton-c/bindings/go/src/qpid.apache.org/amqp/url_test.go
@@ -31,10 +31,14 @@ func ExampleParseURL() {
 		"host/path",
 		"amqps://host",
 		"/path",
-		"[::1]",
 		"",
 		":1234",
-		"[::1",
+                // Taken out becasue the go 1.4 URL parser isn't the same as later
+		//"[::1]",
+		//"[::1",
+		// Output would be:
+		// amqp://[::1]:amqp
+		// parse amqp://[::1: missing ']' in host
 	} {
 		u, err := ParseURL(s)
 		if err != nil {
@@ -50,8 +54,6 @@ func ExampleParseURL() {
 	// amqp://host:amqp/path
 	// amqps://host:amqps
 	// amqp://localhost:amqp/path
-	// amqp://[::1]:amqp
 	// amqp://localhost:amqp
 	// parse :1234: missing protocol scheme
-	// parse amqp://[::1: missing ']' in host
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message