diff --git a/src/Root_TEST.cc b/src/Root_TEST.cc index 5bbc6d4a0..02c62b1ad 100644 --- a/src/Root_TEST.cc +++ b/src/Root_TEST.cc @@ -691,7 +691,9 @@ TEST(DOMRoot, ClearActorLightModel) sdf::Light light1; light1.SetName("light1"); root.SetLight(light1); + EXPECT_EQ(nullptr, root.Actor()); EXPECT_NE(nullptr, root.Light()); + EXPECT_EQ(nullptr, root.Model()); root.ClearActorLightModel(); EXPECT_EQ(nullptr, root.Light());