Skip to content

Commit f87ddca

Browse files
committed
string_byte_test
1 parent c2edfec commit f87ddca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lapi/string_byte_test.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--[[
1+
--[=[[
22
SPDX-License-Identifier: ISC
33
Copyright (c) 2023-2025, Sergey Bronnikov.
44
@@ -7,9 +7,9 @@ https://www.lua.org/manual/5.3/manual.html#6.4
77
88
string.byte gets confused with some out-of-range negative indices,
99
https://www.lua.org/bugs.html#5.1.3-9
10-
]]
1110
12-
-- Synopsis: string.byte(s [, i [, j]])
11+
Synopsis: string.byte(s [, i [, j]])
12+
]]=]
1313

1414
local luzer = require("luzer")
1515
local test_lib = require("lib")
@@ -27,7 +27,7 @@ local function TestOneInput(buf, _size)
2727
assert(type(char_code) == "number")
2828
local byte = string.char(char_code)
2929
assert(byte)
30-
assert(byte == str)
30+
-- assert(byte == str)
3131
end
3232
end
3333

0 commit comments

Comments
 (0)