From 92d84c8aad4c99077695756a91e6edf2e6aea941 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 14 Oct 2019 09:24:28 -0600 Subject: Fix broken tests --- test/example.bats | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/example.bats') 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 } -- cgit v1.2.3