diff options
author | P. J. McDermott <pj@pehjota.net> | 2015-12-07 10:42:58 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2015-12-07 10:42:58 (EST) |
commit | 68862e644273a8d160985f76b001f80e00c0670c (patch) | |
tree | 889071f0cc208825cd9fe4402a32d86d174aa36d | |
parent | da6f6314a7a8509bc4e0bcbf2a8da6dad8e68dd1 (diff) |
tests/common.sh: Remove use()
-rw-r--r-- | tests/common.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/common.sh b/tests/common.sh index b883a51..293dc7d 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -33,21 +33,6 @@ trap atexit EXIT in_place=true builddir='.' -use() -{ - local module="${1}" - local dir= - - dir='lib' - - if [ -f "${dir}/${module}.sm" ]; then - . "${dir}/${module}.sm" - else - printf '%s: Error: Failed to load module "%s": %s\n' \ - "${0##*/}" "${module}" 'no such file or directory' >&2 - exit 2 - fi -} assert() { |