Skip to content

Commit

Permalink
Fix strings
Browse files Browse the repository at this point in the history
Signed-off-by: Emerson Knapp <[email protected]>
  • Loading branch information
emersonknapp committed Dec 3, 2022
1 parent aeafbc8 commit 76f6c99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosbag2_transport/test/rosbag2_transport/test_rewrite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@ TEST_F(TestRewrite, test_compress) {
rosbag2_transport::bag_rewrite(input_bags_, output_bags_);

rosbag2_storage::MetadataIo metadata_io;
auto metadata = metadata_io.read_metadata(out_bag);
auto metadata = metadata_io.read_metadata(out_bag.string());
auto first_storage = out_bag / metadata.relative_file_paths[0];

EXPECT_EQ(first_storage.extension(), ".zstd");
EXPECT_EQ(first_storage.extension().string(), ".zstd");
EXPECT_TRUE(first_storage.exists());
EXPECT_TRUE(first_storage.is_regular_file());
}

0 comments on commit 76f6c99

Please sign in to comment.