Skip to content

Commit

Permalink
Add expectations to plugin_attribute test
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Apr 30, 2024
1 parent 2c6e96d commit 2698353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/plugin_attribute.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ TEST(PluginAttribute, ParseAttributes)
EXPECT_TRUE(user->HasAttribute("attribute"));
EXPECT_EQ(user->GetAttribute("attribute")->GetAsString(),
std::string("attribute"));
EXPECT_TRUE(user->HasAttribute("empty_attribute"));
EXPECT_EQ(user->GetAttribute("empty_attribute")->GetAsString(), "");
}
{
sdf::ElementPtr value = plugin->GetElement("value");
Expand Down

0 comments on commit 2698353

Please sign in to comment.