diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-14 09:24:28 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-14 09:24:28 -0600 |
| commit | 92d84c8aad4c99077695756a91e6edf2e6aea941 (patch) | |
| tree | f8038c5ef0493c049acde874ddf2d511691a7ba0 /test | |
| parent | 2e2f6bcfa9c043007765e98f82baa4b461a7fe25 (diff) | |
Fix broken tests
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 5acd1ad..98b6212 100644 --- a/test/example.bats +++ b/test/example.bats @@ -16,5 +16,9 @@ load test_helper @test "produces an error" { run rm blah - assert_failure $'rm: blah: No such file or directory' + if [[ "$OSTYPE" == "darwin"* ]]; then + assert_failure $'rm: blah: No such file or directory' + else + assert_failure $'rm: cannot remove \'blah\': No such file or directory' + fi } |
