diff options
| author | Paul Buetow <paul@buetow.org> | 2021-05-11 19:54:23 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-05-11 19:54:23 +0100 |
| commit | e569faa91f0f8906c416113010c755fd5cdc79b2 (patch) | |
| tree | b0c69a140c6b3e84aeefdc5df4dd23292bce0df1 /lib/assert.source.sh | |
| parent | e19b4a4b4287c10592ac59a09f1ec29293d29c08 (diff) | |
refactor
Diffstat (limited to 'lib/assert.source.sh')
| -rw-r--r-- | lib/assert.source.sh | 16 |
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" -} |
