uri.test
This file
Path
tests/uri.test
92 lines · 1.6 KiB
Last changed by
Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
History of this fileTake it
The walk stopped after 200 commits: lines older than fa6a2ff point at it.
website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 1–3why, one step back1# Tests are groups of three lines: program, input, expected output2# Blank lines and lines starting with # are ignored3Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 4–5why, one step back4# @uri5website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 6why, one step back6@uriRefactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 7–8why, one step back7""8""website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 9why, one step back9Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 10–12why, one step back10@uri11"\b\t\n\f\r\"\\"12"%08%09%0A%0C%0D%22%5C"website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 13–14why, one step back1314@uriRefactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 15–18why, one step back15",-./09:;<=>?@AZ[\\]^_`az{|}~\u007f"16"%2C-.%2F09%3A%3B%3C%3D%3E%3F%40AZ%5B%5C%5D%5E_%60az%7B%7C%7D~%7F"1718@uriwebsite: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 19–21why, one step back19"a \u03bc \u2230 \ud83d\ude0e"20"a%20%CE%BC%20%E2%88%B0%20%F0%9F%98%8E"21Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 22–27why, one step back22@uri23"a\u0000b\u0000c"24"a%00b%00c"2526# @urid27website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 28why, one step back28@uridRefactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 29–40why, one step back29""30""3132@urid33"%08%09%0A%0C%0D%22%5C"34"\b\t\n\f\r\"\\"3536@urid37"%2C-.%2F09%3A%3B%3C%3D%3E%3F%40AZ%5B%5C%5D%5E_%60az%7B%7C%7D~%7F"38",-./09:;<=>?@AZ[\\]^_`az{|}~\u007f"3940@uridwebsite: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 41–43why, one step back41"a%20%CE%BC%20%E2%88%B0%20%F0%9F%98%8E"42"a \u03bc \u2230 \ud83d\ude0e"43Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 44–46why, one step back44@urid45"a%00b%00c"46"a\u0000b\u0000c"website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 47why, one step back47Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 48–64why, one step back48@urid49"hello world"50"hello world"5152@urid53"Knäckebröd"54"Knäckebröd"5556@urid57"%c3%a4b%c3%a7d%c3%ab"58"äbçdë"5960@urid61"a\u0000b\u0000c"62"a\u0000b\u0000c"6364# '%' at end of stringwebsite: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 65why, one step back65. | try @urid catch .Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 66–67why, one step back66"abc%"67"string (\"abc%\") is not a valid uri encoding"website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
line 68why, one step back68Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 69–78why, one step back69# '%' followed by only one hex digit70. | try @urid catch .71"abc%f"72"string (\"abc%f\") is not a valid uri encoding"7374# '%' followed by non-hex character75. | try @urid catch .76"abc%g"77"string (\"abc%g\") is not a valid uri encoding"78website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 79–83why, one step back79# invalid hex value ('FX')80. | try @urid catch .81"%FX%9F%98%8E"82"string (\"%FX%9F%98%8E\") is not a valid uri encoding"83Refactor @uri and @urid and fix multi-byte UTF-8 corruption (#3495)itchynybefore adoptionbfcf82f
lines 84–89why, one step back84# incomplete 4-byte UTF-8 sequence (only 3 bytes)85. | try @urid catch .86"%F0%93%81"87"string (\"%F0%93%81\") is not a valid uri encoding"8889# invalid continuation byte (0xC0 is not 10xxxxxx)website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 90–92why, one step back90. | try @urid catch .91"%F0%C0%81%8E"92"string (\"%F0%C0%81%8E\") is not a valid uri encoding"