1 parent
a4f52cf174
commit
827c9e150a
7 files changed
+221
-33
No files matched your search
@@ -62,7 +62,7 @@ class SplitFileLoggerTests : public Void::Testing::Fixture
|
||||
log.info("info one");
|
||||
log.error("error one");
|
||||
}
|
||||
const auto all = slurp(dir / "all.log");
|
||||
const auto all = slurp(dir / "trace.log");
|
||||
Void::Testing::expect(all.find("info one") != std::string::npos);
|
||||
Void::Testing::expect(all.find("error one") != std::string::npos);
|
||||
}
|
||||
@@ -75,7 +75,7 @@ class SplitFileLoggerTests : public Void::Testing::Fixture
|
||||
.mode = Void::Logging::Mode::Immediate}};
|
||||
log.info("solo");
|
||||
}
|
||||
Void::Testing::expect(!std::filesystem::exists(dir / "all.log"));
|
||||
Void::Testing::expect(!std::filesystem::exists(dir / "trace.log"));
|
||||
Void::Testing::expect(std::filesystem::exists(dir / "info.log"));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user