summaryrefslogtreecommitdiff
path: root/lib/assert.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-05-11 19:54:23 +0100
committerPaul Buetow <paul@buetow.org>2021-05-11 19:54:23 +0100
commite569faa91f0f8906c416113010c755fd5cdc79b2 (patch)
treeb0c69a140c6b3e84aeefdc5df4dd23292bce0df1 /lib/assert.source.sh
parente19b4a4b4287c10592ac59a09f1ec29293d29c08 (diff)
refactor
Diffstat (limited to 'lib/assert.source.sh')
-rw-r--r--lib/assert.source.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/assert.source.sh b/lib/assert.source.sh
deleted file mode 100644
index 3367809d..00000000
--- a/lib/assert.source.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-assert::equals () {
- local -r result="$1"; shift
- local -r expected="$1"; shift
-
- if [ "$result" != "$expected" ]; then
- cat <<ERROR
-Expected
- '$expected'
-But got
- '$result'
-ERROR
- exit 2
- fi
-
- echo "Assert OK: $expected"
-}