Skip to content

Commit 0971529

Browse files
committed
FIX wc behavior on BSD
1 parent ede9ca7 commit 0971529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ test_fake_echo_stdin_when_no_params() {
214214
7818 pts/9 00:00:00 ps
215215
EOF
216216

217-
assert_equals 2 "$(ps | "$GREP" pts | wc -l)"
217+
assert_equals 2 "$(ps | "$GREP" pts | wc -l| tr -d ' ')"
218218
}
219219

220220
test_should_pretty_format_even_when_LANG_is_unset() {

0 commit comments

Comments
 (0)