From da37ac9c7894186a0e2e0e6f1f5f00b825fd1555 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 27 Dec 2018 14:19:53 -0200 Subject: Detail Slightly better error message for invalid conversions in 'string.format'. --- testes/strings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testes') diff --git a/testes/strings.lua b/testes/strings.lua index 1260dbcc..587a0e06 100644 --- a/testes/strings.lua +++ b/testes/strings.lua @@ -302,7 +302,7 @@ check("%100.3d", "too long") check("%1"..aux..".3d", "too long") check("%1.100d", "too long") check("%10.1"..aux.."004d", "too long") -check("%t", "invalid option") +check("%t", "invalid conversion") check("%"..aux.."d", "repeated flags") check("%d %d", "no value") -- cgit v1.2.3-55-g6feb