Skip to content

Commit

Permalink
Try adding backslash as a separator
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Mar 3, 2025
1 parent 3a73225 commit c0cf094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int main(int argc, char** argv) {
std::string testDir = "data/test/";
if (argc > 1) {
testDir = std::string(argv[1]);
if (testDir.back() != '/')
if ((testDir.back() != '/') || (testDir.back() != '\\'))
testDir += "/";
}
doTests(testDir);
Expand Down

0 comments on commit c0cf094

Please sign in to comment.