Chromium Code Reviews| Index: chrome/common/extensions/extension_set_unittest.cc |
| diff --git a/chrome/common/extensions/extension_set_unittest.cc b/chrome/common/extensions/extension_set_unittest.cc |
| index e51d5718c97af769eea232078bc02f816857d7ae..728d32903ca203984a1834ef61d56905094351ef 100644 |
| --- a/chrome/common/extensions/extension_set_unittest.cc |
| +++ b/chrome/common/extensions/extension_set_unittest.cc |
| @@ -1,3 +1,4 @@ |
| + |
|
Aaron Boodman
2011/11/11 20:06:14
whoops
|
| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -114,4 +115,8 @@ TEST(ExtensionSetTest, ExtensionSet) { |
| extensions.Remove(ext2->id()); |
| EXPECT_EQ(2u, extensions.size()); |
| EXPECT_FALSE(extensions.GetByID(ext2->id())); |
| + |
| + // Does Clear() clear? |
| + extensions.Clear(); |
| + EXPECT_EQ(0u, extensions.size()); |
| } |