diff --git a/test/lib/trim-test.sh b/test/lib/trim-test.sh new file mode 100755 index 0000000..1c03c57 --- /dev/null +++ b/test/lib/trim-test.sh @@ -0,0 +1,7 @@ +#! /usr/bin/env bash +source "../assert.sh" + +source "../../src/lib/trim.sh" + +assert 'trim " foo bar "' "foo bar" +assert_end "trim()"