Skip to content

Commit bbc7c38

Browse files
committed
update docs
1 parent cc762ed commit bbc7c38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ test_code_gives_ps_appropriate_parameters() {
666666
24162 pts/7 00:00:00 ps
667667
8387 ? 0:00 /usr/sbin/apache2 -k start
668668
EOF
669-
assert_equals ax "$FAKE_PARAMS"
669+
assert_equals ax "${FAKE_PARAMS[@]}"
670670
}
671671
export -f _ps
672672
fake ps _ps
@@ -700,7 +700,7 @@ code() {
700700

701701
test_code_gives_ps_appropriate_parameters() {
702702
_ps() {
703-
assert_equals ax "$FAKE_PARAMS"
703+
assert_equals ax "${FAKE_PARAMS[@]}"
704704
}
705705
export -f _ps
706706
fake ps _ps
@@ -730,7 +730,7 @@ code() {
730730

731731
test_code_gives_ps_appropriate_parameters() {
732732
_ps() {
733-
echo $FAKE_PARAMS > /tmp/fake_params
733+
echo ${FAKE_PARAMS[@]} > /tmp/fake_params
734734
}
735735
export -f _ps
736736
fake ps _ps
@@ -765,7 +765,7 @@ code() {
765765
}
766766

767767
test_code_gives_ps_appropriate_parameters() {
768-
fake ps 'echo $FAKE_PARAMS >/tmp/fake_params'
768+
fake ps 'echo ${FAKE_PARAMS[@]} >/tmp/fake_params'
769769

770770
code || true
771771

@@ -794,7 +794,7 @@ test_get_data_from_fake() {
794794
#Fasten you seat belt ...
795795
coproc cat
796796
exec {test_channel}>&${COPROC[1]}
797-
fake ps 'echo $FAKE_PARAMS >&$test_channel'
797+
fake ps 'echo ${FAKE_PARAMS[@]} >&$test_channel'
798798

799799
code || true
800800

0 commit comments

Comments
 (0)