commit | 2d68b194e7d5f3ba89dab81e7a37fed05d53c527 | [log] [tgz] |
---|---|---|
author | Carlos Sanchez <carlos@apache.org> | Wed Apr 20 13:26:59 2016 +0200 |
committer | Carlos Sanchez <carlos@apache.org> | Wed Apr 20 13:26:59 2016 +0200 |
tree | 4ed721162da20a6359e7b6802d2096dac5fd39fa | |
parent | 3e8e9484326ac3e8dbb4607f8c91fe3cf0bc9270 [diff] [blame] |
Remove newlines in test output
diff --git a/tests/test_helpers.bash b/tests/test_helpers.bash index 7a3d891..e604930 100644 --- a/tests/test_helpers.bash +++ b/tests/test_helpers.bash
@@ -10,6 +10,7 @@ local expected_output=$1 shift local actual_output=$("$@") + actual_output="${actual_output//[$'\t\r\n']}" # remove newlines if ! [ "$actual_output" = "$expected_output" ]; then echo "expected: \"$expected_output\"" echo "actual: \"$actual_output\""