Keep things consistent

This commit is contained in:
2013-10-03 23:36:48 +01:00
parent 02ad286591
commit 7ca1911636
2 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ source "../../src/lib/arguments.sh"
#
# has-argument()
# has-argument() tests
#
# Returns 1 when it does not have argument.
@@ -20,7 +20,7 @@ assert_end "has-argument()"
#
# parse-argument()
# parse-argument() tests
#
# Echos nothing and returns 1 when argument is not present.

View File

@@ -2,6 +2,10 @@
source "../test-helper.sh"
source "../../src/lib/trim.sh"
#
# trim() tests
#
assert 'trim " foo bar "' "foo bar"
assert 'trim "foo bar "' "foo bar"
assert 'trim " foo bar"' "foo bar"