diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-03-24 15:05:59 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-03-24 15:05:59 +0100 |
commit | 92089dcbc59b8c71909386c86e36097f98258f2d (patch) | |
tree | c028e1199d062b8db772c54d4756f0facd6c8020 /tests/single.lua | |
parent | 478ffdad62482192fd92a8a8f18275c28cfd6826 (diff) | |
download | fengari-92089dcbc59b8c71909386c86e36097f98258f2d.tar.gz fengari-92089dcbc59b8c71909386c86e36097f98258f2d.tar.bz2 fengari-92089dcbc59b8c71909386c86e36097f98258f2d.zip |
Fixed bad quoted cntrl chars
Diffstat (limited to 'tests/single.lua')
-rw-r--r-- | tests/single.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/single.lua b/tests/single.lua index e206568..e3ba2f5 100644 --- a/tests/single.lua +++ b/tests/single.lua @@ -150,3 +150,4 @@ end x = '"ílo"\n\\' assert(string.format('%q%s', x, x) == '"\\"ílo\\"\\\n\\\\""ílo"\n\\') +assert(string.format('%q', "\0") == [["\0"]]) |