diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-14 09:34:06 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-14 09:34:06 -0600 |
| commit | 9c63abb0a154c526a480ec8b82672e3252e3f4c3 (patch) | |
| tree | f74d955e037b1db5d075c1e75ad1e16d3e048b64 /test | |
| parent | 92d84c8aad4c99077695756a91e6edf2e6aea941 (diff) | |
fix failing test
Diffstat (limited to 'test')
| -rw-r--r-- | test/example.bats | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/example.bats b/test/example.bats index 98b6212..c671637 100644 --- a/test/example.bats +++ b/test/example.bats @@ -18,7 +18,11 @@ load test_helper if [[ "$OSTYPE" == "darwin"* ]]; then assert_failure $'rm: blah: No such file or directory' - else + elif [[ "$OSTYPE" == "linux-gnu"* ]]; then assert_failure $'rm: cannot remove \'blah\': No such file or directory' + elif [[ "$OSTYPE" == "linux-musl"* ]]; then + assert_failure $'rm: can\'t remove \'blah\': No such file or directory' + else + assert_failure fi } |
