Browse Source

[trac117] added EXPECT_NO_THROW() to a bare statement.

essentially nothing changed, but it would clarify it's part of the test.
JINMEI Tatuya 14 years ago
parent
commit
d0a29d0aa3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/dns/tests/rdata_nsec3_unittest.cc

+ 2 - 1
src/lib/dns/tests/rdata_nsec3_unittest.cc

@@ -73,7 +73,8 @@ TEST_F(Rdata_NSEC3_Test, fromText) {
                                   " NS").getNext().size());
 
     // type bitmap is empty.  it's possible and allowed for NSEC3.
-    generic::NSEC3("1 1 1 D399EAAB H9RSFB7FPF2L8HG35CMPC765TDK23RP6");
+    EXPECT_NO_THROW(generic::NSEC3(
+                        "1 1 1 D399EAAB H9RSFB7FPF2L8HG35CMPC765TDK23RP6"));
 }
 
 TEST_F(Rdata_NSEC3_Test, toText) {