Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stevedonovan/Penlight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstevedonovan <steve.j.donovan@gmail.com>2010-12-22 20:47:09 +0300
committerstevedonovan <steve.j.donovan@gmail.com>2010-12-22 20:47:09 +0300
commit9e7b50027b7ef0de3ef0409f1d10f6b36e0dbeda (patch)
tree6fc465a66b43e494f3265fd315336691bade4c53 /tests/test-pylib.lua
parentc0dc7cba8c6a30d1e0c61fe5b5c86b25716715f6 (diff)
A number of nasty bugs squashed in pl.stringx, thanks to David M's new test suite
Diffstat (limited to 'tests/test-pylib.lua')
-rw-r--r--tests/test-pylib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pylib.lua b/tests/test-pylib.lua
index 7656295..96cde5f 100644
--- a/tests/test-pylib.lua
+++ b/tests/test-pylib.lua
@@ -50,7 +50,7 @@ s = ' here we go '
assert (s:lstrip() == 'here we go ')
assert (s:rstrip() == ' here we go')
assert (s:strip() == 'here we go')
-assert (('hello'):center(20,'+') == '++++++++hello++++++++')
+assert (('hello'):center(20,'+') == '++++++++hello+++++++')
t = Template('${here} is the $answer')
assert(t:substitute {here = 'one', answer = 'two'} == 'one is the two')