diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-17 10:42:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-08-17 10:42:56 -0300 |
commit | f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2 (patch) | |
tree | 3b8e1055f91a369de67e6b3b690a2c349c9541a1 /testes/sort.lua | |
parent | 1b3f507f620d996ffb69da7476a19251acfb89ca (diff) | |
download | lua-f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2.tar.gz lua-f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2.tar.bz2 lua-f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2.zip |
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).
Diffstat (limited to 'testes/sort.lua')
-rw-r--r-- | testes/sort.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/sort.lua b/testes/sort.lua index 52919b8c..40bb2d8a 100644 --- a/testes/sort.lua +++ b/testes/sort.lua | |||
@@ -289,7 +289,7 @@ timesort(a, limit, function(x,y) return nil end, "equal") | |||
289 | 289 | ||
290 | for i,v in pairs(a) do assert(v == false) end | 290 | for i,v in pairs(a) do assert(v == false) end |
291 | 291 | ||
292 | AA = {"álo", "\0first :-)", "alo", "then this one", "45", "and a new"} | 292 | AA = {"\xE1lo", "\0first :-)", "alo", "then this one", "45", "and a new"} |
293 | table.sort(AA) | 293 | table.sort(AA) |
294 | check(AA) | 294 | check(AA) |
295 | 295 | ||