Skip to content

Commit

Permalink
add a test case for PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
iTakeshi committed Jan 3, 2023
1 parent 41de504 commit 3fbb169
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/regex_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ void test_regex()

// cases are cited from RFC3987 and RFC6068
printf("Integrated tests\n");
g_assert(check_match(0 , URI , "http://localhost:3000/index.html" , "http://localhost:3000/index.html" , 0));
g_assert(check_match(0 , URI , "http://www.example.org/D%C3%BCrst" , "http://www.example.org/D%C3%BCrst" , 0));
g_assert(check_match(0 , URI , "http://www.example.org/Dürst" , "http://www.example.org/Dürst" , 0));
g_assert(check_match(0 , URI , "http://www.example.org/D%FCrst" , "http://www.example.org/D%FCrst" , 0));
Expand Down

0 comments on commit 3fbb169

Please sign in to comment.