Skip to content

Commit e2c3fef

Browse files
committed
fix: Change checks order
1 parent 0358b53 commit e2c3fef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/builder.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ TEST(Builder, SignImageFileWithoutThumbnailAutoGenerationThroughSettings)
9999
ASSERT_NO_THROW(manifest_data = builder.sign(signed_image_path, output_path, signer));
100100

101101
// read to verify
102+
ASSERT_TRUE(std::filesystem::exists(output_path));
102103
auto reader = c2pa::Reader(output_path);
103104
ASSERT_NO_THROW(reader.json());
104-
ASSERT_TRUE(std::filesystem::exists(output_path));
105105

106106
// reset settings to defaults, because settings are currently global
107107
c2pa::load_settings("{\"builder\": { \"thumbnail\": {\"enabled\": true}}}", "json");

0 commit comments

Comments
 (0)