提交 29875ace 编写于 作者: W wangjiawei04

fix icode error other than RULE103 & 069-2

Change-Id: Ie7b3e4f3fc6e5ca4ec77732d09610658144fa3a0
上级 b61f3de4
......@@ -52,13 +52,13 @@ TEST_F(KVDBTest, AbstractKVDB_Func_Test) {
std::string get_list = "getlist.txt";
std::ifstream set_file(set_list);
std::ifstream get_file(get_list);
for ( std::string line; getline(set_file, line ); )
for (std::string line; getline(set_file, line); )
{
std::vector<std::string> strs = StringSplit (line, ' ');
kvdb->Set(strs[0], strs[1]);
}
for ( std::string line; getline(set_file, line ); ) {
for (std::string line; getline(set_file, line); ) {
std::vector<std::string> strs = StringSplit(line, ' ');
std::string val = kvdb->Get(strs[0]);
ASSERT_EQ(val, strs[1]);
......
......@@ -29,9 +29,6 @@ protected:
static void SetUpTestCase() {
}
~KVDBTest() {}
};
int my_argc;
char** my_argv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册