aboutsummaryrefslogtreecommitdiff
path: root/src/test/log_test_helpers.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2017-02-19 23:09:50 +1100
committerteor <teor2345@gmail.com>2017-02-19 23:09:50 +1100
commit7a65abf566d9a66f2792e9f83480ca42e0574b43 (patch)
tree9d05be93844325db8ba67d57e79efa9e82677aef /src/test/log_test_helpers.h
parentefa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72 (diff)
downloadtor-7a65abf566d9a66f2792e9f83480ca42e0574b43.tar.gz
tor-7a65abf566d9a66f2792e9f83480ca42e0574b43.zip
Make display of captured unit test log messages consistent
There was a missing space and an extra colon. Fixes bug 21510; bugfix on 0.2.9.3-alpha.
Diffstat (limited to 'src/test/log_test_helpers.h')
-rw-r--r--src/test/log_test_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/log_test_helpers.h b/src/test/log_test_helpers.h
index 922c68b42f..19c5a881a4 100644
--- a/src/test/log_test_helpers.h
+++ b/src/test/log_test_helpers.h
@@ -71,14 +71,14 @@ void mock_dump_saved_logs(void);
\
assert_log_predicate(mock_saved_log_has_message_containing(str) && \
mock_saved_log_n_entries() == 1, \
- "expected log to contain exactly 1 message: " # str); \
+ "expected log to contain exactly 1 message " # str); \
} while (0);
#define expect_single_log_msg_containing(str) \
do { \
assert_log_predicate(mock_saved_log_has_message_containing(str)&& \
mock_saved_log_n_entries() == 1 , \
- "expected log to contain 1 message, containing" # str); \
+ "expected log to contain 1 message, containing " # str); \
} while (0);
#define expect_no_log_msg(str) \