提交 b5fdf719 编写于 作者: W wangjiawei04

fix gtest_db_func bug

Change-Id: Id19dba310c8093af95e6503d541c2032881bfaa8
上级 371a15de
......@@ -58,7 +58,7 @@ TEST_F(KVDBTest, AbstractKVDB_Func_Test) {
kvdb->Set(strs[0], strs[1]);
}
for (std::string line; getline(set_file, line); ) {
for (std::string line; getline(get_file, line); ) {
std::vector<std::string> strs = StringSplit(line, ' ');
std::string val = kvdb->Get(strs[0]);
ASSERT_EQ(val, strs[1]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册