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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/PtrUtilTest.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/wtf/PtrUtil.h" 5 #include "platform/wtf/PtrUtil.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace WTF { 9 namespace WTF {
10 10
(...skipping 17 matching lines...) Expand all
28 28
29 ASSERT_TRUE(char_ptr.get()); 29 ASSERT_TRUE(char_ptr.get());
30 } 30 }
31 31
32 TEST(WTF_PtrUtilTest, canMakeUniqueArray) { 32 TEST(WTF_PtrUtilTest, canMakeUniqueArray) {
33 constexpr size_t kBufferSize = 20; 33 constexpr size_t kBufferSize = 20;
34 auto char_array = MakeUnique<char[]>(kBufferSize); 34 auto char_array = MakeUnique<char[]>(kBufferSize);
35 35
36 ASSERT_TRUE(char_array.get()); 36 ASSERT_TRUE(char_array.get());
37 } 37 }
38 } 38 } // namespace WTF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698