diff options
-rw-r--r-- | yarns/morph.shell-lib | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yarns/morph.shell-lib b/yarns/morph.shell-lib index f0a9c11b..4fb1eb10 100644 --- a/yarns/morph.shell-lib +++ b/yarns/morph.shell-lib @@ -85,10 +85,10 @@ is_file() assert_equal() { - case "$1" in - "$2") ;; - *) die "Expected '$1' and '$2' to be equal" ;; - esac + if [ "$1" != "$2" ] + then + die "Expected '$1' and '$2' to be equal" + fi } |