summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/unittest_util.cc
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2010-08-17 00:08:14 +0200
committerJINMEI Tatuya <jinmei@isc.org>2010-08-17 00:08:14 +0200
commit81eb4c244c143e73c10e9a5c382bbcbc6175d458 (patch)
tree53de0306a9919b3ec9a735e9aeb8da8835f12f6f /src/lib/dns/tests/unittest_util.cc
parentadded missing errno and fixed an exception variable that was referenced by th... (diff)
downloadkea-81eb4c244c143e73c10e9a5c382bbcbc6175d458.tar.xz
kea-81eb4c244c143e73c10e9a5c382bbcbc6175d458.zip
style fixes:
- added surrandong parentheses for return values based on agreed guideline - removed redundant semicolons after a block - fixed curly brace position diff is large, but the change is very trivial. so I'm skipping explicit review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2745 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'src/lib/dns/tests/unittest_util.cc')
-rw-r--r--src/lib/dns/tests/unittest_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/tests/unittest_util.cc b/src/lib/dns/tests/unittest_util.cc
index 414f410980..90b0bdf7c3 100644
--- a/src/lib/dns/tests/unittest_util.cc
+++ b/src/lib/dns/tests/unittest_util.cc
@@ -158,7 +158,7 @@ UnitTestUtil::matchWireData(const char* dataexp1 UNUSED_PARAM,
<< "Expected: " << len2 << "\n";
return (::testing::AssertionFailure(msg));
}
- return ::testing::AssertionSuccess();
+ return (::testing::AssertionSuccess());
}
::testing::AssertionResult
@@ -177,5 +177,5 @@ UnitTestUtil::matchName(const char* nameexp1 UNUSED_PARAM,
<< "Other: " << name2 << "\n";
return (::testing::AssertionFailure(msg));
}
- return ::testing::AssertionSuccess();
+ return (::testing::AssertionSuccess());
}