mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Reorganize helpers
This commit is contained in:
9
test/lib/helpers/trim-test.sh
Executable file
9
test/lib/helpers/trim-test.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /usr/bin/env bash
|
||||
source "../test-helper.sh"
|
||||
source "../../src/lib/trim.sh"
|
||||
|
||||
assert 'trim " foo bar "' "foo bar"
|
||||
assert 'trim "foo bar "' "foo bar"
|
||||
assert 'trim " foo bar"' "foo bar"
|
||||
assert 'trim "foo bar"' "foo bar"
|
||||
assert_end "trim()"
|
||||
Reference in New Issue
Block a user