From 8c90e5314d635c3678ade2277003f571665a7c88 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 8 Feb 2015 16:06:29 +0900 Subject: [PATCH] src: Update doc --- src/http2_test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/http2_test.cc b/src/http2_test.cc index d5975582..30db434f 100644 --- a/src/http2_test.cc +++ b/src/http2_test.cc @@ -518,7 +518,8 @@ void test_http2_path_join(void) { sizeof(rel) - 1, nullptr, 0)); } { - // rel is relative + // rel is relative and base ends without /, which means it refers + // to file. const char base[] = "/alpha"; const char rel[] = "bravo/charlie"; CU_ASSERT("/bravo/charlie" == @@ -594,7 +595,7 @@ void test_http2_path_join(void) { sizeof(rel) - 1, nullptr, 0)); } { - // '.' is ignored + // trailing '.' is ignored const char base[] = "/"; const char rel[] = "charlie/."; CU_ASSERT("/charlie/" == http2::path_join(base, sizeof(base) - 1, nullptr,