mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
parent
da36e7e256
commit
4d21cd315d
20 changed files with 1075 additions and 664 deletions
|
@ -31,7 +31,8 @@ char *escapeparam(const char *s) {
|
|||
}
|
||||
|
||||
TEST(escapeparam, test) {
|
||||
EXPECT_STREQ("abc+%26%3C%3E%22%27%01%02", gc(escapeparam("abc &<>\"'\1\2")));
|
||||
EXPECT_STREQ("abc%20%26%3C%3E%22%27%01%02",
|
||||
gc(escapeparam("abc &<>\"'\1\2")));
|
||||
}
|
||||
|
||||
TEST(escapeparam, testLargeGrowth) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue