diff options
| author | Stefan Boberg <[email protected]> | 2021-11-01 16:48:55 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-11-01 16:48:55 +0100 |
| commit | a8f9941f5c8dff75f606e130f7132babda6265bb (patch) | |
| tree | b5d424562420223495fdbcdd6c9dab051519e8ce /zencore/filesystem.cpp | |
| parent | filecas: Fixed debug logging (diff) | |
| parent | Merged from main (diff) | |
| download | zen-a8f9941f5c8dff75f606e130f7132babda6265bb.tar.xz zen-a8f9941f5c8dff75f606e130f7132babda6265bb.zip | |
Merge branch 'gc' of https://github.com/EpicGames/zen into gc
Diffstat (limited to 'zencore/filesystem.cpp')
| -rw-r--r-- | zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp index b8e8eff55..a642e2cf6 100644 --- a/zencore/filesystem.cpp +++ b/zencore/filesystem.cpp @@ -840,7 +840,7 @@ TEST_CASE("filesystem") // 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" || BinPath.stem() == "zenstore-test"; + const bool ExpectedExe = ToUtf8(BinPath.stem().native()).ends_with("-test"sv) || BinPath.stem() == "zenserver"; CHECK(ExpectedExe); CHECK(is_regular_file(BinPath)); |