diff --git a/test/test-agent.cpp b/test/test-agent.cpp index 509cd72..9245bdc 100644 --- a/test/test-agent.cpp +++ b/test/test-agent.cpp @@ -5,7 +5,8 @@ TEST(AgentTest, Basic) { Rep::Agent agent = Rep::Agent("a.com").allow("/").disallow("/foo"); - EXPECT_EQ(agent.directives().size(), 2); + auto expectedSize = static_cast::size_type>(2); + EXPECT_EQ(agent.directives().size(), expectedSize); } TEST(AgentTest, ChecksAllowed)