Fix: Test failure after updating test data

This commit is contained in:
Jesse Yurkovich
2024-05-22 06:13:18 +02:00
parent fac97d6c49
commit d46ce3eb4e

View File

@@ -263,9 +263,9 @@ TEST_F(UsdExportTest, usd_export_material)
}
/* File sanity checks. */
EXPECT_EQ(BLI_listbase_count(&bfile->main->objects), 1);
/* There are two materials because of the Dots Stroke. */
EXPECT_EQ(BLI_listbase_count(&bfile->main->materials), 2);
EXPECT_EQ(BLI_listbase_count(&bfile->main->objects), 3);
/* There are 4 materials because of the Dots Stroke. */
EXPECT_EQ(BLI_listbase_count(&bfile->main->materials), 4);
Material *material = reinterpret_cast<Material *>(
BKE_libblock_find_name(bfile->main, ID_MA, "Material"));