Skip to content

Commit

Permalink
Disable one getPureFilename test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerKuemmerle committed Jan 28, 2024
1 parent 8bc57c4 commit d8d291f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unit_test/stuff/filesys_tools_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ TEST(Stuff, GetFileExtension) {
TEST(Stuff, GetPureFilename) {
EXPECT_EQ("test", g2o::getPureFilename("test.txt"));
EXPECT_EQ("test", g2o::getPureFilename("test"));
#ifndef WINDOWS
EXPECT_EQ("/home/g2o/test", g2o::getPureFilename("/home/g2o/test.txt"));
#endif
EXPECT_EQ("", g2o::getPureFilename(""));
}

Expand Down

0 comments on commit d8d291f

Please sign in to comment.