base64.test
This file
Path
tests/base64.test
47 lines · 764 bytes
Last changed by
Improve error message truncation with closing delimiters (#3478)itchynybefore adoption22361cf
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–4why, one step back1# Tests are groups of three lines: program, input, expected output2# Blank lines and lines starting with # are ignored34@base64Avoid zero-length `calloc` (#3280)itchynybefore adoptiona8ce2ff
lines 5–8why, one step back5""6""78@base64website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 9–20why, one step back9"<>&'\"\t"10"PD4mJyIJ"1112# decoding encoded output results in same text13(@base64|@base64d)14"<>&'\"\t"15"<>&'\"\t"1617# regression test for #43618@base6419"foóbar\n"20"Zm/Ds2Jhcgo="Avoid zero-length `calloc` (#3280)itchynybefore adoptiona8ce2ff
lines 21–24why, one step back2122@base64d23""24""website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 25–26why, one step back2526@base64dFix calloc error on `@base64d` format (ref #3280) (#3286)itchynybefore adoption94fd973
lines 27–30why, one step back27"="28""2930@base64dwebsite: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 31–41why, one step back31"Zm/Ds2Jhcgo="32"foóbar\n"3334# optional trailing equals padding (With padding, this is cWl4YmF6Cg==)35@base64d36"cWl4YmF6Cg"37"qixbaz\n"3839# invalid base64 characters (whitespace)40. | try @base64d catch .41"Not base64 data"Improve error message truncation with closing delimiters (#3478)itchynybefore adoption22361cf
line 42why, one step back42"string (\"Not base64 data\") is not valid base64 data"website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 43–47why, one step back4344# invalid base64 (too many bytes, QUJD = "ABCD"45. | try @base64d catch .46"QUJDa"47"string (\"QUJDa\") trailing base64 byte found"