From 5629b81f78c722e8001b8cee1628085a78a8ea9f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jun 2018 00:40:36 -0700 Subject: Updating tests. --- core/text.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/text.nom b/core/text.nom index e6065c1..8b26ccb 100644 --- a/core/text.nom +++ b/core/text.nom @@ -20,7 +20,7 @@ compile [%text with %sub instead of %patt, %text s/%patt/%sub] to action [lines in %text, lines of %text] lua> ".." - local result = {} + local result = list{} for line in (\%text):gmatch('[^\n]+') do result[#result+1] = line end -- cgit v1.2.3