We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2edfec commit f87ddcaCopy full SHA for f87ddca
tests/lapi/string_byte_test.lua
@@ -1,4 +1,4 @@
1
---[[
+--[=[[
2
SPDX-License-Identifier: ISC
3
Copyright (c) 2023-2025, Sergey Bronnikov.
4
@@ -7,9 +7,9 @@ https://www.lua.org/manual/5.3/manual.html#6.4
7
8
string.byte gets confused with some out-of-range negative indices,
9
https://www.lua.org/bugs.html#5.1.3-9
10
-]]
11
12
--- Synopsis: string.byte(s [, i [, j]])
+Synopsis: string.byte(s [, i [, j]])
+]]=]
13
14
local luzer = require("luzer")
15
local test_lib = require("lib")
@@ -27,7 +27,7 @@ local function TestOneInput(buf, _size)
27
assert(type(char_code) == "number")
28
local byte = string.char(char_code)
29
assert(byte)
30
- assert(byte == str)
+ -- assert(byte == str)
31
end
32
33
0 commit comments