Index: src/platform/update_engine/delta_diff_generator_unittest.cc |
diff --git a/src/platform/update_engine/delta_diff_generator_unittest.cc b/src/platform/update_engine/delta_diff_generator_unittest.cc |
index ef6e7b18b1a54b35908d7fed24f9f2c669461a61..b549041f8f42da12da3fc921af784206fcff2cc6 100644 |
--- a/src/platform/update_engine/delta_diff_generator_unittest.cc |
+++ b/src/platform/update_engine/delta_diff_generator_unittest.cc |
@@ -83,18 +83,18 @@ void GenerateFilesAtPath(const string& base) { |
EXPECT_EQ(0, System(StringPrintf( |
"ln -f -s '%s' '%s/compress_link'", kWellCompressingFilename, base_c))); |
-// Things that will encode differently: |
-EXPECT_EQ(0, System(StringPrintf("mkdir -p '%s/encoding'", base_c))); |
-EXPECT_EQ(0, System(StringPrintf("echo nochange > '%s/encoding/nochange'", |
- base_c))); |
-EXPECT_EQ(0, System(StringPrintf("echo -n > '%s/encoding/onebyte'", base_c))); |
-EXPECT_EQ(0, System(StringPrintf("echo -n > '%s/encoding/long_new'", |
- base_c))); |
-// Random 1 MiB byte length file |
-EXPECT_TRUE(WriteFile((base + |
- "/encoding/long_small_change").c_str(), |
- reinterpret_cast<const char*>(kRandomString), |
- sizeof(kRandomString))); |
+ // Things that will encode differently: |
+ EXPECT_EQ(0, System(StringPrintf("mkdir -p '%s/encoding'", base_c))); |
+ EXPECT_EQ(0, System(StringPrintf("echo nochange > '%s/encoding/nochange'", |
+ base_c))); |
+ EXPECT_EQ(0, System(StringPrintf("echo -n > '%s/encoding/onebyte'", base_c))); |
+ EXPECT_EQ(0, System(StringPrintf("echo -n > '%s/encoding/long_new'", |
+ base_c))); |
+ // Random 1 MiB byte length file |
+ EXPECT_TRUE(utils::WriteFile((base + |
+ "/encoding/long_small_change").c_str(), |
+ reinterpret_cast<const char*>(kRandomString), |
+ sizeof(kRandomString))); |
} |
// base points to a folder that was passed to GenerateFilesAtPath(). |
// This edits some, so that one can make a diff from the original data |