Fix errors in common_util

This commit is contained in:
blahpy
2020-09-09 18:41:45 +12:00
parent eb886d0c45
commit 9f1d6792e2
5 changed files with 43 additions and 35 deletions
+7 -5
View File
@@ -1,11 +1,13 @@
#include "common/util/FileUtil.h"
#include <iostream>
#include "gtest/gtest.h"
#include <string>
#include <vector>
TEST(test, test) {
TEST(FileUtil, valid_path) {
std::string test[] = {"cabbage", "banana", "apple"};
std::cout << FileUtil::get_file_path(test) << std::endl;
std::vector<std::string> test = {"cabbage", "banana", "apple"};
std::string sampleString = FileUtil::get_file_path(test);
// std::cout << sampleString << std::endl;
EXPECT_TRUE(true);
}
}