[svn] commit: r1708 - /trunk/src/lib/dns/tests/rdata_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Apr 13 21:37:29 UTC 2010


Author: jinmei
Date: Tue Apr 13 21:37:29 2010
New Revision: 1708

Log:
cleanup: construct RRType from integer when possible.

Modified:
    trunk/src/lib/dns/tests/rdata_unittest.cc

Modified: trunk/src/lib/dns/tests/rdata_unittest.cc
==============================================================================
--- trunk/src/lib/dns/tests/rdata_unittest.cc (original)
+++ trunk/src/lib/dns/tests/rdata_unittest.cc Tue Apr 13 21:37:29 2010
@@ -100,7 +100,7 @@
 // "Unknown" RR Type used for the test cases below.  If/when we use this
 // type number as a "well-known" (probably experimental) type, we'll need to
 // renumber it.
-const RRType unknown_rrtype = RRType("TYPE65000");
+const RRType unknown_rrtype = RRType(65000);
 
 TEST_F(Rdata_Unknown_Test, createFromText)
 {




More information about the bind10-changes mailing list