We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304ab90 commit 985bdc6Copy full SHA for 985bdc6
tests/gtest_ports.cpp
@@ -150,7 +150,7 @@ TEST(PortsTest, NonPorts)
150
ASSERT_EQ(root->type(), NodeType::ACTION);
151
152
EXPECT_EQ(root->config().other_attributes.size(), 1);
153
- ASSERT_TRUE(root->config().other_attributes.contains("_not_da_port"));
+ ASSERT_EQ(root->config().other_attributes.count("_not_da_port"), 1);
154
EXPECT_EQ(root->config().other_attributes.at("_not_da_port"), "whateva");
155
}
156
0 commit comments