diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 00:57:02 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 00:57:02 +0000 |
commit | 9f2425c48ab8fc3bd32cff77d1524ae43c0b8b1e (patch) | |
tree | 4d31d2f27cf7f370008aa1dde637d89f24db64de /chrome/browser | |
parent | cc342c46871d425c4de8eee74ad116335c7cb03a (diff) | |
download | chromium_src-9f2425c48ab8fc3bd32cff77d1524ae43c0b8b1e.zip chromium_src-9f2425c48ab8fc3bd32cff77d1524ae43c0b8b1e.tar.gz chromium_src-9f2425c48ab8fc3bd32cff77d1524ae43c0b8b1e.tar.bz2 |
Fix up check so that it reads correctly when it fails.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/399047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/cocoa/cocoa_test_helper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/cocoa_test_helper.mm b/chrome/browser/cocoa/cocoa_test_helper.mm index 17bba55..1b4c92a 100644 --- a/chrome/browser/cocoa/cocoa_test_helper.mm +++ b/chrome/browser/cocoa/cocoa_test_helper.mm @@ -120,7 +120,7 @@ void CocoaTest::TearDown() { if ([start_date timeIntervalSinceNow] < -1.0) { // Took us over a second to shut down, and windows still exist. // Log a failure and continue. - EXPECT_EQ(windows_left.size(), 0U); + EXPECT_EQ(0U, windows_left.size()); for (size_t i = 0; i < windows_left.size(); ++i) { const char* desc = [[windows_left[i] description] UTF8String]; LOG(WARNING) << "Didn't close window " << desc; |