Skip to content

Commit

Permalink
Update src/Root_TEST.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
  • Loading branch information
nkoenig and scpeters authored Oct 15, 2024
1 parent 2c5c90e commit cbc160b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Root_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down

0 comments on commit cbc160b

Please sign in to comment.