More control over encoding of test files

The few UTF-8 test files are commented as such, and there is only one
non UTF-8 test file (to test non UTF-8 sources).
This commit is contained in:
Roberto Ierusalimschy
2023-08-17 10:42:56 -03:00
parent 1b3f507f62
commit f4211a5ea4
6 changed files with 49 additions and 28 deletions

View File

@@ -289,7 +289,7 @@ timesort(a, limit, function(x,y) return nil end, "equal")
for i,v in pairs(a) do assert(v == false) end
AA = {"<EFBFBD>lo", "\0first :-)", "alo", "then this one", "45", "and a new"}
AA = {"\xE1lo", "\0first :-)", "alo", "then this one", "45", "and a new"}
table.sort(AA)
check(AA)