Commit 509c4113 authored by Craig Barnes's avatar Craig Barnes

Add more variations of hex float numbers to test/errors.lua

parent 1bcb9037
Pipeline #7951729 passed with stage
in 1 minute and 1 second
......@@ -37,6 +37,9 @@ assertError('{x = "\\"}', 1, 9)
-- Unsupported Lua 5.2+ features
assertError('{x = 0x1.5p-3}', 1, 9)
assertError('{x = 0x0.1E}', 1, 9)
assertError('{x = 0xA23p-4}', 1, 11)
assertError('{x = 0X1.921FB54442D18P+1}', 1, 9)
assertError('{x = "\\xFF"}', 1, 8)
assertError('{x = "\\z\n x"}', 1, 8)
assertError('{x = "\\u{1F311}"}', 1, 8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment