aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Hongwei Wang <hongweiw@google.com>2015-07-16 14:16:51 -0700
committerGravatar Hongwei Wang <hongweiw@google.com>2015-07-16 14:16:51 -0700
commitd423f3c2fdb9f6ca8ed3cfa16f51a9046ac35e0a (patch)
tree93c64c8ffe1469bed8ac20a8f4b056b6f8408fbe /test
parent2f89e400bee1f26704e544371c10d082593f8bfa (diff)
Fix authority in uri_parser
Diffstat (limited to 'test')
-rw-r--r--test/core/client_config/uri_parser_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/client_config/uri_parser_test.c b/test/core/client_config/uri_parser_test.c
index e5f9017ce0..3451ca1e8c 100644
--- a/test/core/client_config/uri_parser_test.c
+++ b/test/core/client_config/uri_parser_test.c
@@ -60,6 +60,7 @@ int main(int argc, char **argv) {
test_succeeds("http://www.google.com:90", "http", "www.google.com:90", "");
test_succeeds("a192.4-df:foo.coom", "a192.4-df", "", "foo.coom");
test_succeeds("a+b:foo.coom", "a+b", "", "foo.coom");
+ test_succeeds("zookeeper://127.0.0.1:2181/foo/bar", "zookeeper", "127.0.0.1:2181", "/foo/bar");
test_fails("xyz");
test_fails("http://www.google.com?why-are-you-using-queries");
test_fails("dns:foo.com#fragments-arent-supported-here");