Chromium Code Reviews| Index: tools/gn/builder_unittest.cc |
| diff --git a/tools/gn/builder_unittest.cc b/tools/gn/builder_unittest.cc |
| index e605b9e2a82a8c7af15fffb6e0a1fe820ed3df2c..977214a239d583946ac3352063da0dd422f68548 100644 |
| --- a/tools/gn/builder_unittest.cc |
| +++ b/tools/gn/builder_unittest.cc |
| @@ -35,20 +35,8 @@ class MockLoader : public Loader { |
| return files_.empty(); |
| } |
| - // Returns true if one load has been requested and it matches the given |
| + // Returns true if two loads have been requested and they matchs the given |
|
brettw
2014/03/26 22:12:04
spelling matchs -> match
Nico
2014/03/26 22:17:13
Done.
|
| // file. This will clear the records so it will be empty for the next call. |
| - bool HasLoadedOne(const SourceFile& f) { |
| - if (files_.size() != 1u) { |
| - files_.clear(); |
| - return false; |
| - } |
| - |
| - bool match = (files_[0] == f); |
| - files_.clear(); |
| - return match; |
| - } |
| - |
| - // Like HasLoadedOne above. Accepts any ordering. |
| bool HasLoadedTwo(const SourceFile& a, const SourceFile& b) { |
| if (files_.size() != 2u) { |
| files_.clear(); |