From 280b5e851aecddd668a635cbcd6eba217d6dc0ba Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 May 2017 14:11:42 +1000 Subject: tests: remove some extra prints --- tests/test-suite/literals.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/test-suite/literals.js') diff --git a/tests/test-suite/literals.js b/tests/test-suite/literals.js index a4eb32d..d18d557 100644 --- a/tests/test-suite/literals.js +++ b/tests/test-suite/literals.js @@ -349,13 +349,11 @@ test("[test-suite] literals: long strings", function (t) { let luaCode = `b = "001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789" assert(string.len(b) == 960) prog = [=[ -print('+') a1 = [["this is a 'string' with several 'quotes'"]] a2 = "'quotes'" assert(string.find(a1, a2) == 34) -print('+') a1 = [==[temp = [[an arbitrary value]]; ]==] assert(load(a1))() @@ -363,7 +361,6 @@ assert(temp == 'an arbitrary value') -- long strings -- b = "001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789001234567890123456789012345678901234567891234567890123456789012345678901234567890012345678901234567890123456789012345678912345678901234567890123456789012345678900123456789012345678901234567890123456789123456789012345678901234567890123456789" assert(string.len(b) == 960) -print('+') a = [[00123456789012345678901234567890123456789123456789012345678901234567890123456789 00123456789012345678901234567890123456789123456789012345678901234567890123456789 @@ -394,7 +391,6 @@ assert(string.sub(a, 1, 40) == string.sub(b, 1, 40)) x = 1 ]=] -print('+') x = nil dostring(prog) assert(x) -- cgit v1.2.3-54-g00ecf