mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Add test for trim() function
This commit is contained in:
7
test/lib/trim-test.sh
Executable file
7
test/lib/trim-test.sh
Executable file
@@ -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()"
|
||||
Reference in New Issue
Block a user