Skip to content

Commit

Permalink
IO: fixed directory being included in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed May 9, 2024
1 parent c49e7c6 commit cd2d039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/io/tests/FilesystemArchiveTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class FilesystemArchiveTest : public app::AbstractTest {

TEST_F(FilesystemArchiveTest, testFilesytemArchive) {
io::FilesystemArchive fsa(fs);
fsa.add(".");
fsa.add(".", "*.txt");
ASSERT_FALSE(fsa.files().empty());
SeekableReadStreamPtr stream = fsa.readStream(fsa.files().front().fullPath);
SeekableReadStreamPtr stream = fsa.readStream(fsa.files().front().name);
ASSERT_TRUE(stream);
EXPECT_TRUE(fsa.exists("iotest.txt"));
}
Expand Down

0 comments on commit cd2d039

Please sign in to comment.