aboutsummaryrefslogtreecommitdiff
path: root/testes/sort.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-08-17 10:42:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-08-17 10:42:56 -0300
commitf4211a5ea4e235ccfa8b8dfa46031c23e9e839e2 (patch)
tree3b8e1055f91a369de67e6b3b690a2c349c9541a1 /testes/sort.lua
parent1b3f507f620d996ffb69da7476a19251acfb89ca (diff)
downloadlua-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.lua2
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
290for i,v in pairs(a) do assert(v == false) end 290for i,v in pairs(a) do assert(v == false) end
291 291
292AA = {"álo", "\0first :-)", "alo", "then this one", "45", "and a new"} 292AA = {"\xE1lo", "\0first :-)", "alo", "then this one", "45", "and a new"}
293table.sort(AA) 293table.sort(AA)
294check(AA) 294check(AA)
295 295