diff options
| author | Martin Ridgers <[email protected]> | 2021-10-11 10:32:13 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-11 10:32:13 +0200 |
| commit | 735b478c1425cc9a1e407bf917dc8daa4ab16b11 (patch) | |
| tree | 6e253ee94a5db9244756571084f3f07472e4e2b3 /zencore/filesystem.cpp | |
| parent | Fixed undefined mimalloc symbols (diff) | |
| parent | iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a cha... (diff) | |
| download | zen-735b478c1425cc9a1e407bf917dc8daa4ab16b11.tar.xz zen-735b478c1425cc9a1e407bf917dc8daa4ab16b11.zip | |
Merged main
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index 9936f30ec..c3edf656e 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -842,9 +842,9 @@ TEST_CASE("filesystem") { using namespace std::filesystem; - // GetExePath + // GetExePath -- this is not a great test as it's so dependent on where the this code gets linked in path BinPath = GetRunningExecutablePath(); - const bool ExpectedExe = BinPath.stem() == "zencore-test" || BinPath.stem() == "zenserver-test"; + const bool ExpectedExe = BinPath.stem() == "zencore-test" || BinPath.stem() == "zenserver-test" || BinPath.stem() == "zenstore-test"; CHECK(ExpectedExe); CHECK(is_regular_file(BinPath)); |