From facb56e0c1fdb846541968731adb16ca1e641312 Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Mon, 28 Dec 2020 15:09:43 +0000 Subject: [PATCH] issue #195 strings tests part 3 --- tests/lua53/strings.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lua53/strings.lua b/tests/lua53/strings.lua index 3a872f8..aaa0bf4 100644 --- a/tests/lua53/strings.lua +++ b/tests/lua53/strings.lua @@ -228,6 +228,9 @@ do checkQ(true) checkQ(nil) checkQ(false) + checkQ(math.huge) + checkQ(-math.huge) + assert(string.format("%q", 0/0) == "(0/0)") -- NaN checkerror("no literal", string.format, "%q", {}) end