diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 10:16:23 +0200 |
|---|---|---|
| committer | Philipp Janda <siffiejoe@gmx.net> | 2017-08-27 10:16:23 +0200 |
| commit | 67aabb83a1eeea860b1a9a2104c90b80a523268a (patch) | |
| tree | d11498b47e25ebf2b0c9ffddd5f7c25bedc097a1 /tests/test.lua | |
| parent | 3931e7fc37c5c3cc30f8e35e5bdb06a59af1e884 (diff) | |
| download | lua-compat-5.3-67aabb83a1eeea860b1a9a2104c90b80a523268a.tar.gz lua-compat-5.3-67aabb83a1eeea860b1a9a2104c90b80a523268a.tar.bz2 lua-compat-5.3-67aabb83a1eeea860b1a9a2104c90b80a523268a.zip | |
Handle edge case for lua_pushlstring(). Add test.
Diffstat (limited to 'tests/test.lua')
| -rwxr-xr-x | tests/test.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua index be16af9..582f55e 100755 --- a/tests/test.lua +++ b/tests/test.lua | |||
| @@ -776,6 +776,9 @@ meta.__name = "XXX" | |||
| 776 | print(mod.tolstring(ud):gsub(":.*$", ": yyy")) | 776 | print(mod.tolstring(ud):gsub(":.*$", ": yyy")) |
| 777 | 777 | ||
| 778 | ___'' | 778 | ___'' |
| 779 | print(mod.pushstring()) | ||
| 780 | |||
| 781 | ___'' | ||
| 779 | print(mod.buffer()) | 782 | print(mod.buffer()) |
| 780 | 783 | ||
| 781 | ___'' | 784 | ___'' |
