Replace hardcoded parameters
This commit is contained in:
@@ -19,7 +19,8 @@ TEST(FileUtilTest, EmptyFileName) {
|
||||
}
|
||||
|
||||
TEST(FileUtilTest, BasicTest) {
|
||||
const std::string file_path = absl::StrCat("/tmp", "/file_util_test");
|
||||
const std::string file_path =
|
||||
absl::StrCat("/tmp", "/file_util_test");
|
||||
EXPECT_TRUE(SetContents(file_path, "test content"));
|
||||
std::string contents;
|
||||
EXPECT_TRUE(GetContents(file_path, &contents));
|
||||
|
||||
Reference in New Issue
Block a user