Skip to content

Commit

Permalink
Modify test case for absPath empty check, adding the missing separator
Browse files Browse the repository at this point in the history
Signed-off-by: Zhilei Ren <zren@dlut.edu.cn>
  • Loading branch information
gzfuzz committed Aug 8, 2024
1 parent 16dfa04 commit 527c87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filesystem_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ TEST_F(FilesystemTest, separator)
TEST_F(FilesystemTest, empty)
{
#ifdef __APPLE__
EXPECT_EQ(common::absPath(""), gz::common::cwd());
EXPECT_EQ(common::absPath(""), gz::common::cwd() + "/");
#else
EXPECT_EQ(common::absPath(""), "");
#endif
Expand Down

0 comments on commit 527c87c

Please sign in to comment.