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

Unified Diff: third_party/WebKit/Source/wtf/RefPtrTest.cpp

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 years, 11 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/wtf/RefPtr.h ('k') | third_party/WebKit/Source/wtf/RefVector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/RefPtrTest.cpp
diff --git a/third_party/WebKit/Source/wtf/RefPtrTest.cpp b/third_party/WebKit/Source/wtf/RefPtrTest.cpp
index 7f37fc38b9e7b2f65f32a2a3cf0ba73485a01a0c..396cd1d2611cf3c2cd7213887664dfdcf230f24f 100644
--- a/third_party/WebKit/Source/wtf/RefPtrTest.cpp
+++ b/third_party/WebKit/Source/wtf/RefPtrTest.cpp
@@ -9,23 +9,21 @@
namespace WTF {
-TEST(RefPtrTest, Basic)
-{
- RefPtr<StringImpl> string;
- EXPECT_TRUE(!string);
- string = StringImpl::create("test");
- EXPECT_TRUE(!!string);
- string.clear();
- EXPECT_TRUE(!string);
+TEST(RefPtrTest, Basic) {
+ RefPtr<StringImpl> string;
+ EXPECT_TRUE(!string);
+ string = StringImpl::create("test");
+ EXPECT_TRUE(!!string);
+ string.clear();
+ EXPECT_TRUE(!string);
}
-TEST(RefPtrTest, MoveAssignmentOperator)
-{
- RefPtr<StringImpl> a = StringImpl::create("a");
- RefPtr<StringImpl> b = StringImpl::create("b");
- b = std::move(a);
- EXPECT_TRUE(!!b);
- EXPECT_TRUE(!a);
+TEST(RefPtrTest, MoveAssignmentOperator) {
+ RefPtr<StringImpl> a = StringImpl::create("a");
+ RefPtr<StringImpl> b = StringImpl::create("b");
+ b = std::move(a);
+ EXPECT_TRUE(!!b);
+ EXPECT_TRUE(!a);
}
-} // namespace WTF
+} // namespace WTF
« no previous file with comments | « third_party/WebKit/Source/wtf/RefPtr.h ('k') | third_party/WebKit/Source/wtf/RefVector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698