You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2016/09/16 16:04:27 UTC

[3/4] qpid-proton git commit: PROTON-1303: Comment out examples that give different output for go 1.4

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 <as...@apache.org>
Authored: Fri Sep 16 10:45:22 2016 -0400
Committer: Andrew Stitcher <as...@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