aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel/uri_parser_test.c
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2017-02-15 14:00:01 -0800
committerGravatar Yuchen Zeng <zyc@google.com>2017-02-22 16:25:52 -0800
commitaa76d3d3b642304ba05026593fc8b9cf8b49e072 (patch)
tree889025a5798b4007f85198f6c5e66e756dc37db1 /test/core/client_channel/uri_parser_test.c
parentdfa88e95c5584ccce7c339e704ac5c1ad3bfb894 (diff)
Enclose sin6_scope_id in uri
Diffstat (limited to 'test/core/client_channel/uri_parser_test.c')
-rw-r--r--test/core/client_channel/uri_parser_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/client_channel/uri_parser_test.c b/test/core/client_channel/uri_parser_test.c
index 5f32d3270c..489e4ecd51 100644
--- a/test/core/client_channel/uri_parser_test.c
+++ b/test/core/client_channel/uri_parser_test.c
@@ -142,6 +142,8 @@ int main(int argc, char **argv) {
test_succeeds("http:?legit#twice", "http", "", "", "legit", "twice");
test_succeeds("http://foo?bar#lol?", "http", "foo", "", "bar", "lol?");
test_succeeds("http://foo?bar#lol?/", "http", "foo", "", "bar", "lol?/");
+ test_succeeds("ipv6:[2001:db8::1%252]:12345", "ipv6", "",
+ "[2001:db8::1%2]:12345", "", "");
test_fails("xyz");
test_fails("http:?dangling-pct-%0");