Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

Fix stringx.center for consistency with python

Python's str.center prefers longer right padding when total padding
length is odd.
latest commit 6eee39f5ac
@mpeterv mpeterv authored
..
Failed to load latest commit information.
lua tests borked because text of errors changes between Lua versions
test-animal.lua Thijs doc updates, plus 'catch' can be called with a colon to avoid c…
test-args.lua updated strict module, new import_into and updated init. Still failin…
test-array.lua array2.move added
test-class.lua super fix fixed; RIP class base method - not possible to implement co…
test-compare-no-order.lua B
test-comprehension.lua utils.(get)setfenv always defined; no longer sets global versions for…
test-config.lua config.read has a smart option for auto-detecting common Unix file fo…
test-data.lua Date constructor fails noisily if passed string, corrected broken tes…
test-date.lua issue #93: Date tostring is suitable for serialization
test-dir.lua test-dir failing on Linux due to different behaviour of tmpname. Use …
test-fenv.lua Added test for the change
test-func.lua Passes Lua 5.3 tests: do NOT use ipairs to iterate if __index is over…
test-import_into.lua updated strict module, new import_into and updated init. Still failin…
test-job-query.lua B
test-klass.lua pl.class can be used more conveniently from Moonscript
test-lapp.lua pl.lapp allows -<char> flags to be followed directly by value, for in…
test-lexer.lua lexer problem with strings ending in double-backslashes sorted
test-list.lua refactoring - 5.1/5.2 compatibility functions moved into pl.compat
test-map.lua B
test-move.lua B
test-path.lua Fix normpath
test-pretty-number.lua added test for making pretty numbers
test-pretty.lua tests borked because text of errors changes between Lua versions
test-pylib.lua Fix stringx.center for consistency with python
test-relpath.lua added path.relpath
test-seq.lua PL passes tests with no-compat Lua 5.2; utils.unpack exported, now al…
test-set.lua Set.issempty mispelling; default ctor borked; more tests
test-sip.lua B
test-strict.lua Fix pl.strict: assigning nil to a global declares it
test-stringio.lua ISO 8601 seconds, minutes and hours start at _zero_! stringio was ski…
test-stringx.lua Fix stringx.center for consistency with python
test-substitute.lua first commit of pl.template (Rici Lake preprocessor)
test-super.lua class super method was borked; now hunts for first available default …
test-tablex.lua issue #57: 'false' misunderstood as meaning 'not present'
test-text.lua fix text.indent - issue #36, Ross Berteig
test-tzone.lua issue #93: Date tostring is suitable for serialization
test-url.lua Add Python style url module for quote and unquote.
test-vector.lua Pull #91: move is_XXX and to_bool into pl.types
test-xml.lua issue #125: DOCTYPE ignored in xml documents as well
tests.run test script; test-func no longer so verbose
Something went wrong with that request. Please try again.