Skip to content

Commit

Permalink
Try setting IGN_DESCRIPTOR_PATH to fix coverage
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 7, 2022
1 parent 1b219b5 commit a74a4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Factory_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ TEST(FactoryTest, New)
EXPECT_TRUE(msg.get() != nullptr);

unsetenv("GZ_DESCRIPTOR_PATH");
unsetenv("IGN_DESCRIPTOR_PATH");
setenv("IGN_DESCRIPTOR_PATH", "TEST_PATH", 1);

msg = msgs::Factory::New<msgs::Vector3d>("gz.msgs.Vector3d");
EXPECT_NE(msg, nullptr);
Expand Down

0 comments on commit a74a4de

Please sign in to comment.