Skip to content

Commit 5790e75

Browse files
committed
fix testLogging for latest oxen-logging
1 parent 1d05999 commit 5790e75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_logging.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ TEST_CASE("Logging callbacks", "[logging]") {
7777
REQUIRE(simple_logs.size() == 2);
7878
REQUIRE(full_logs.size() == 2);
7979
CHECK(fixup_log(simple_logs[0]) ==
80-
"[<timestamp>] [<reltime>] [test.a:critical|test_logging.cpp:{}] abc 42\n"_format(line0));
80+
"[<timestamp>] [<reltime>] [test.a:critical|tests/test_logging.cpp:{}] abc 42\n"_format(line0));
8181
CHECK(fixup_log(simple_logs[1]) ==
82-
"[<timestamp>] [<reltime>] [test.b:info|test_logging.cpp:{}] hi\n"_format(line1));
82+
"[<timestamp>] [<reltime>] [test.b:info|tests/test_logging.cpp:{}] hi\n"_format(line1));
8383
CHECK(fixup_log(full_logs[0]) ==
84-
"test.a|critical|[<timestamp>] [<reltime>] [test.a:critical|test_logging.cpp:{}] abc 42\n"_format(
84+
"test.a|critical|[<timestamp>] [<reltime>] [test.a:critical|tests/test_logging.cpp:{}] abc 42\n"_format(
8585
line0));
8686
CHECK(fixup_log(full_logs[1]) ==
87-
"test.b|info|[<timestamp>] [<reltime>] [test.b:info|test_logging.cpp:{}] hi\n"_format(
87+
"test.b|info|[<timestamp>] [<reltime>] [test.b:info|tests/test_logging.cpp:{}] hi\n"_format(
8888
line1));
8989
}
9090

0 commit comments

Comments
 (0)