From 30d73a1506411d7b779843a37dffc4bf759c32e2 Mon Sep 17 00:00:00 2001 From: Alex Kutsan Date: Fri, 3 Mar 2017 12:02:50 +0200 Subject: Improve a bit code of test scripts build moved redundant namespace in local scope Added test main to list of sources --- src/components/test_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/test_main.cc') diff --git a/src/components/test_main.cc b/src/components/test_main.cc index 66013d78c4..72c90acb5c 100644 --- a/src/components/test_main.cc +++ b/src/components/test_main.cc @@ -1,8 +1,8 @@ #include "gmock/gmock.h" #include "utils/logger.h" #include "utils/custom_string.h" -namespace custom_str = utils::custom_string; int main(int argc, char** argv) { + namespace custom_str = utils::custom_string; testing::InitGoogleMock(&argc, argv); ::testing::DefaultValue::Set( custom_str::CustomString("")); -- cgit v1.2.1