Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2060)

Unified Diff: chrome/browser/printing/page_range_unittest.cc

Issue 3149: Porting changes in chrome/{browser,common}, also enabling more unit tests.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/page_range_unittest.cc
===================================================================
--- chrome/browser/printing/page_range_unittest.cc (revision 2402)
+++ chrome/browser/printing/page_range_unittest.cc (working copy)
@@ -18,7 +18,7 @@
range.to = 5;
ranges.push_back(range);
std::vector<int> pages(printing::PageRange::GetPages(ranges));
- ASSERT_EQ(8, pages.size());
+ ASSERT_EQ(8U, pages.size());
EXPECT_EQ(1, pages[0]);
EXPECT_EQ(2, pages[1]);
EXPECT_EQ(3, pages[2]);
@@ -32,6 +32,6 @@
TEST(PageRangeTest, Empty) {
printing::PageRanges ranges;
std::vector<int> pages(printing::PageRange::GetPages(ranges));
- EXPECT_EQ(0, pages.size());
+ EXPECT_EQ(0U, pages.size());
}

Powered by Google App Engine
This is Rietveld 408576698