Skip to content

Commit

Permalink
Remove redundant Factory test lines
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 a74a4de commit 07dae3a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Factory_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@ TEST(FactoryTest, New)

msg = msgs::Factory::New<msgs::Vector3d>(".gz.msgs.Vector3d");
EXPECT_TRUE(msg.get() != nullptr);

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

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

msg = msgs::Factory::New<msgs::Vector3d>(".gz.msgs.Vector3d");
EXPECT_TRUE(msg.get() != nullptr);
}

/////////////////////////////////////////////////
Expand Down

0 comments on commit 07dae3a

Please sign in to comment.