mediawiki-extensions-Scribunto/tests/engines
Brad Jorsch ad3e5a7c48 Fix LuaSandbox mw.ustring.byteoffset with negative 'i'
Negative values for 'i' in mw.ustring.byteoffset are supposed to count
from the end of the string. But in LuaSandbox, it was actually counting
from two bytes before the end of the string due to a typo.

Fix that, and add some tests for it.

Bug: 50176
Change-Id: Iceee1022a55abd7a08df1ea7843e1277eb02798b
2013-06-25 10:06:01 -04:00
..
LuaCommon Fix LuaSandbox mw.ustring.byteoffset with negative 'i' 2013-06-25 10:06:01 -04:00
LuaSandbox (bug 45684) Don't count argument parsing time towards Lua limit 2013-03-12 03:18:05 +00:00
LuaStandalone Make Lua engine tests modular 2013-02-06 09:10:57 -05:00