Re: [PATCH 2/4] test: define test_expect_equal_message_body

2022-01-21 Thread David Bremner
Tomi Ollila writes: > The above works, as we don't have whitespace ($IFS characters to be > precise) in the filenames. However, for better example, "$1" and "$2" > should be used (as is used in many of the functions in test-lib.sh > already. Makes sense, done (in private git) > The above print

Re: [PATCH 2/4] test: define test_expect_equal_message_body

2022-01-20 Thread Tomi Ollila
On Thu, Jan 20 2022, David Bremner wrote: > This is a relatively simple sed invocation, but rather than write a > comment everywhere, give it a descriptive name. > --- > test/test-lib.sh | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/test/test-lib.sh b/test/test-lib.sh >

[PATCH 2/4] test: define test_expect_equal_message_body

2022-01-20 Thread David Bremner
This is a relatively simple sed invocation, but rather than write a comment everywhere, give it a descriptive name. --- test/test-lib.sh | 14 ++ 1 file changed, 14 insertions(+) diff --git a/test/test-lib.sh b/test/test-lib.sh index f1275b85..661c0dd5 100644 --- a/test/test-lib.sh ++