]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1535] (editorial) combined two shorter lines into one.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 30 Mar 2012 18:14:06 +0000 (11:14 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 30 Mar 2012 18:14:06 +0000 (11:14 -0700)
src/lib/datasrc/tests/database_unittest.cc
src/lib/python/isc/datasrc/datasrc.cc

index af64f585088f014e885f14d41a078c7c300c8386..0e9c924cc75af5ee21d648ad10a9ebcbbed46b6b 100644 (file)
@@ -1881,10 +1881,8 @@ TYPED_TEST(DatabaseClientTest, findOutOfZone) {
     EXPECT_THROW(finder->findAll(Name("org"), target), OutOfZone);
 
     // sharing a common ancestor
-    EXPECT_THROW(finder->find(Name("noexample.org"), this->qtype_),
-                 OutOfZone);
-    EXPECT_THROW(finder->findAll(Name("noexample.org"), target),
-                 OutOfZone);
+    EXPECT_THROW(finder->find(Name("noexample.org"), this->qtype_), OutOfZone);
+    EXPECT_THROW(finder->findAll(Name("noexample.org"), target), OutOfZone);
 
     // totally unrelated domain, smaller number of labels
     EXPECT_THROW(finder->find(Name("com"), this->qtype_), OutOfZone);
@@ -1897,8 +1895,7 @@ TYPED_TEST(DatabaseClientTest, findOutOfZone) {
     // totally unrelated domain, larger number of labels
     EXPECT_THROW(finder->find(Name("more.example.com"), this->qtype_),
                  OutOfZone);
-    EXPECT_THROW(finder->findAll(Name("more.example.com"), target),
-                 OutOfZone);
+    EXPECT_THROW(finder->findAll(Name("more.example.com"), target), OutOfZone);
 }
 
 TYPED_TEST(DatabaseClientTest, findDelegation) {
index af6c21ea121a565c6d8cb250f5d7fdd62cbab344..f31d10a21d49534f3815b78e74511591b1d9114f 100644 (file)
@@ -288,8 +288,7 @@ PyInit_datasrc(void) {
         po_DataSourceError = PyErr_NewException("isc.datasrc.Error", NULL,
                                                 NULL);
         PyObjectContainer(po_DataSourceError).installToModule(mod, "Error");
-        po_OutOfZone = PyErr_NewException("isc.datasrc.OutOfZone", NULL,
-                                          NULL);
+        po_OutOfZone = PyErr_NewException("isc.datasrc.OutOfZone", NULL, NULL);
         PyObjectContainer(po_OutOfZone).installToModule(mod, "OutOfZone");
         po_NotImplemented = PyErr_NewException("isc.datasrc.NotImplemented",
                                                NULL, NULL);