From: Paul Selkirk Date: Tue, 7 May 2013 17:16:17 +0000 (-0400) Subject: [2522] fix RP unit test X-Git-Tag: bind10-1.2.0beta1-release~430^2~18^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5306dddc94101bb87bcad59d1c29adc7bef4fe75;p=thirdparty%2Fkea.git [2522] fix RP unit test --- diff --git a/src/lib/dns/tests/rdata_rp_unittest.cc b/src/lib/dns/tests/rdata_rp_unittest.cc index e35440ed5b..c6f4fa7192 100644 --- a/src/lib/dns/tests/rdata_rp_unittest.cc +++ b/src/lib/dns/tests/rdata_rp_unittest.cc @@ -140,8 +140,8 @@ TEST_F(Rdata_RP_Test, createFromLexer) { EXPECT_FALSE(test::createRdataUsingLexer(RRType::RP(), RRClass::IN(), "root.example.com.")); - // acceptable?? - EXPECT_NO_THROW(test::createRdataUsingLexer(RRType::RP(), RRClass::IN(), + // Extra text at end of line + EXPECT_FALSE(test::createRdataUsingLexer(RRType::RP(), RRClass::IN(), "root.example.com. " "rp-text.example.com. " "redundant.example.com."));