diff options
author | Sam Gross <sgross@fb.com> | 2015-04-29 21:45:15 +0300 |
---|---|---|
committer | Sam Gross <sgross@fb.com> | 2015-04-29 21:45:15 +0300 |
commit | f35c91d878c8cbde9f5b15da59761a2eabd75777 (patch) | |
tree | b6d26dc227edce8ec4b21963391ac81440b92669 | |
parent | ec9e4eae9746304e449ce126bf54ee44dff26140 (diff) |
Match LuaJIT format for complex numbers
-rw-r--r-- | test.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -716,7 +716,7 @@ end check(tostring(1+3*i), '1+3i') check(tostring((1+3*i)*(2+4*i)), '-10+10i') -check(tostring((3+2*i)*(3-2*i)), '13') +check(tostring((3+2*i)*(3-2*i)), '13+0i') -- Should ignore unknown attributes ffi.cdef [[ |