mediawiki-extensions-Scribunto/tests/engines
Brad Jorsch d8314539da Fix mw.ustring edge cases
A few edge cases were being incorrectly handled:
* mw.ustring.sub( 'abc', 1, 0 ) returned 'a', not ''.
* mw.ustring.codepoint( 'abc', 1, 0 ) returned 97, not no results.
* mw.ustring.codepoint( 'abc', 4, 4 ) returned 99, not no results.
* mw.ustring.gcodepoint had the same issues as mw.ustring.codepoint.

Change-Id: Ib8c0ef5a8073106eb7d90d0aa0513be4525dca08
2013-07-03 11:49:52 -04:00
..
LuaCommon Fix mw.ustring edge cases 2013-07-03 11:49:52 -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