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

Unified Diff: third_party/WebKit/Source/platform/geometry/IntRectTest.cpp

Issue 2269713002: Remove redundant String casts in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/platform/geometry/IntRectTest.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/IntRectTest.cpp b/third_party/WebKit/Source/platform/geometry/IntRectTest.cpp
index ac1d46685e9fed5a5168f82aeaf3a545b3588027..1515d7867d06f3fd2c9b5465626ed64c61bdf1bb 100644
--- a/third_party/WebKit/Source/platform/geometry/IntRectTest.cpp
+++ b/third_party/WebKit/Source/platform/geometry/IntRectTest.cpp
@@ -12,10 +12,10 @@ namespace blink {
TEST(IntRectTest, ToString)
{
IntRect emptyRect = IntRect();
- EXPECT_EQ(String("0,0 0x0"), emptyRect.toString());
+ EXPECT_EQ("0,0 0x0", emptyRect.toString());
IntRect rect(1, 2, 3, 4);
- EXPECT_EQ(String("1,2 3x4"), rect.toString());
+ EXPECT_EQ("1,2 3x4", rect.toString());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698