Commit 08baa537 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2213] style cleanup: combine short lines

parent d3bdb3c1
......@@ -277,8 +277,7 @@ public:
try {
dns::Name(args->get("origin")->stringValue());
} catch (const isc::Exception& exc) {
isc_throw(CommandError,
"bad origin: " << exc.what());
isc_throw(CommandError, "bad origin: " << exc.what());
}
}
......@@ -294,8 +293,7 @@ public:
try {
dns::RRClass(args->get("class")->stringValue());
} catch (const isc::Exception& exc) {
isc_throw(CommandError,
"bad class: " << exc.what());
isc_throw(CommandError, "bad class: " << exc.what());
}
}
}
......
......@@ -240,10 +240,8 @@ TEST(DataSrcClientsMgrTest, reload) {
EXPECT_EQ(3, FakeDataSrcClientsBuilder::command_queue->size());
// same for empty data and data that is not a map
EXPECT_THROW(mgr.loadZone(isc::data::ConstElementPtr()),
CommandError);
EXPECT_THROW(mgr.loadZone(isc::data::Element::createList()),
CommandError);
EXPECT_THROW(mgr.loadZone(isc::data::ConstElementPtr()), CommandError);
EXPECT_THROW(mgr.loadZone(isc::data::Element::createList()), CommandError);
EXPECT_EQ(3, FakeDataSrcClientsBuilder::command_queue->size());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment