[PATCH 1/4] color-words: fix quoting in t4034
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jan 14, 2009, 22:26 UTC
- Message-ID
- <3ff3ccf6e3c1cd6a002d200aee5df88a197a7bf6.1231971446.git.trast@student.ethz.ch>
- In-Reply-To
- <alpine.DEB.1.00.0901142104400.3586@pacific.mpi-cbg.de>
Since the single quotes match the ones used to quote the test text itself, they'd be dropped. Use double quotes instead. ---
I'd squash this into Dscho's 4/4, so no SoB.
t/t4034-diff-words.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t4034-diff-words.sh b/t/t4034-diff-words.sh index f4810e9..6ad1c1f 100755 --- a/t/t4034-diff-words.sh +++ b/t/t4034-diff-words.sh @@ -80,7 +80,7 @@ EOF test_expect_success 'word diff with a regular expression' ' - word_diff --color-words='[a-z]+' + word_diff --color-words="[a-z]+" ' @@ -98,7 +98,7 @@ EOF test_expect_success "test parsing words for newline" ' - word_diff --color-words='a+' + word_diff --color-words="a+" '
-- 1.6.1.142.ge070e