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

Unified Diff: third_party/WebKit/Source/platform/geometry/LayoutRectTest.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
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/IntRectTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/geometry/LayoutRectTest.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutRectTest.cpp b/third_party/WebKit/Source/platform/geometry/LayoutRectTest.cpp
index a6e85cebce028d74ddfc7fffe302f8586613f8bd..7e9c162745782d653e151227669de2faa25928da 100644
--- a/third_party/WebKit/Source/platform/geometry/LayoutRectTest.cpp
+++ b/third_party/WebKit/Source/platform/geometry/LayoutRectTest.cpp
@@ -12,13 +12,13 @@ namespace blink {
TEST(LayoutRectTest, ToString)
{
LayoutRect emptyRect = LayoutRect();
- EXPECT_EQ(String("0,0 0x0"), emptyRect.toString());
+ EXPECT_EQ("0,0 0x0", emptyRect.toString());
LayoutRect rect(1, 2, 3, 4);
- EXPECT_EQ(String("1,2 3x4"), rect.toString());
+ EXPECT_EQ("1,2 3x4", rect.toString());
LayoutRect granularRect(LayoutUnit(1.6f), LayoutUnit(2.7f), LayoutUnit(3.8f), LayoutUnit(4.9f));
- EXPECT_EQ(String("1.59375,2.6875 3.79688x4.89063"), granularRect.toString());
+ EXPECT_EQ("1.59375,2.6875 3.79688x4.89063", granularRect.toString());
}
#ifndef NDEBUG
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/IntRectTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698