From cbc160b38bf81895bcc9b4c22b4cd696def44111 Mon Sep 17 00:00:00 2001 From: Nate Koenig Date: Tue, 15 Oct 2024 11:09:39 -0700 Subject: [PATCH] Update src/Root_TEST.cc Co-authored-by: Steve Peters Signed-off-by: Nate Koenig --- src/Root_TEST.cc | 2 ++ 1 file changed, 2 insertions(+) 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());