From fce4a5e5df339371195b57f2deb3220e76ba8c78 Mon Sep 17 00:00:00 2001 From: rxi Date: Tue, 5 May 2015 19:13:38 +0100 Subject: [PATCH] Updated test for lume.wordwrap() --- test/test_lume.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_lume.lua b/test/test_lume.lua index 2d0dd1a..f59e71f 100644 --- a/test/test_lume.lua +++ b/test/test_lume.lua @@ -491,8 +491,8 @@ end -- lume.wordwrap tests["lume.wordwrap"] = function() - local str = "A small string with some words and then some more words" - local b = "A small string with\nsome words and then\nsome more words" + local str = "A small string with some words and then some more words" + local b = "A small string with \nsome words and then \nsome more words" local fn = function(str) return #str >= 20 end testeq( lume.wordwrap(str), str ) testeq( lume.wordwrap(str, 20), b )