summaryrefslogtreecommitdiff
path: root/src/components/utils/test/scope_guard_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/utils/test/scope_guard_test.cc')
-rw-r--r--src/components/utils/test/scope_guard_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/utils/test/scope_guard_test.cc b/src/components/utils/test/scope_guard_test.cc
index 5e685d6aba..1f9224effa 100644
--- a/src/components/utils/test/scope_guard_test.cc
+++ b/src/components/utils/test/scope_guard_test.cc
@@ -30,18 +30,18 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "gmock/gmock.h"
#include "utils/scope_guard.h"
+#include "gmock/gmock.h"
#include "utils/macro.h"
namespace test {
namespace components {
namespace utils_test {
-using ::utils::ScopeGuard;
+using ::testing::Mock;
using ::utils::MakeGuard;
using ::utils::MakeObjGuard;
-using ::testing::Mock;
+using ::utils::ScopeGuard;
class TestCalleeObject {
public:
@@ -55,7 +55,7 @@ void dealloc(char* ptr) {
delete ptr;
++call_with_param_count;
}
-}
+} // namespace
TEST(ScopeGuardTest, CallFreeFunctionWithParam) {
{
@@ -118,4 +118,4 @@ TEST(ScopeGuardTest, DismissCallObjectFunctionWithParam) {
} // namespace utils_test
} // namespace components
-} // namesapce test
+} // namespace test