Skip to content

Commit

Permalink
Small change for addm test case.
Browse files Browse the repository at this point in the history
* Seems echo -e isn't multiplatform compatible. Using >> for append
  instead.
  • Loading branch information
Paul Mansfield committed Sep 17, 2009
1 parent 5f9fd4c commit 9786608
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/t2000-multiline.sh
Expand Up @@ -108,7 +108,9 @@ fi

## Multiple line addition
# Create the expected file
echo -e "TODO: 'eat apples' added on line 2.\nTODO: 'eat oranges' added on line 3.\nTODO: 'drink milk' added on line 4.">$HOME/expect.multi
echo "TODO: 'eat apples' added on line 2." > $HOME/expect.multi
echo "TODO: 'eat oranges' added on line 3." >>$HOME/expect.multi
echo "TODO: 'drink milk' added on line 4." >> $HOME/expect.multi

test_expect_success 'actual multiline add' '
(
Expand Down

0 comments on commit 9786608

Please sign in to comment.