mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Merge remote-tracking branch 'teor/bug21510'
This commit is contained in:
commit
1cd7a697f1
4
changes/bug21510
Normal file
4
changes/bug21510
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (unit tests):
|
||||
- Make display of captured unit test log messages consistent.
|
||||
Fixes bug 21510; bugfix on 0.2.9.3-alpha.
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user