Skip to content

Commit 2fa6e59

Browse files
committed
fix(catalog_tests): remove .string() call on std::string temp_path
temp_path is already a std::string, not a filesystem::path.
1 parent 7a743c3 commit 2fa6e59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/catalog_coverage_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ TEST(CatalogCoverageTests, SaveAndLoad) {
257257
}
258258

259259
// Save catalog - should succeed
260-
ASSERT_TRUE(catalog->save(temp_path.string()));
260+
ASSERT_TRUE(catalog->save(temp_path));
261261

262262
// Create new catalog and load - should succeed (returns true)
263263
auto loaded_catalog = Catalog::create();
264-
ASSERT_TRUE(loaded_catalog->load(temp_path.string()));
264+
ASSERT_TRUE(loaded_catalog->load(temp_path));
265265

266266
// Note: Due to stub implementation, loaded catalog won't have the table
267267
// This test verifies the save/load cycle works without crashing

0 commit comments

Comments
 (0)