Skip to content

Commit 985bdc6

Browse files
committed
fix compilation
1 parent 304ab90 commit 985bdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gtest_ports.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ TEST(PortsTest, NonPorts)
150150
ASSERT_EQ(root->type(), NodeType::ACTION);
151151

152152
EXPECT_EQ(root->config().other_attributes.size(), 1);
153-
ASSERT_TRUE(root->config().other_attributes.contains("_not_da_port"));
153+
ASSERT_EQ(root->config().other_attributes.count("_not_da_port"), 1);
154154
EXPECT_EQ(root->config().other_attributes.at("_not_da_port"), "whateva");
155155
}
156156

0 commit comments

Comments
 (0)