summaryrefslogtreecommitdiffstats
path: root/tools/clang/empty_string/tests
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-12-14 14:47:50 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-14 22:49:11 +0000
commitaf961540aa1cd578055321f041a7312a84728510 (patch)
tree5bc2155b5d465034e823b7210234c9872975f42b /tools/clang/empty_string/tests
parent0f65ba2bb05c1d262eab2a5357d7be92e19efab7 (diff)
downloadchromium_src-af961540aa1cd578055321f041a7312a84728510.zip
chromium_src-af961540aa1cd578055321f041a7312a84728510.tar.gz
chromium_src-af961540aa1cd578055321f041a7312a84728510.tar.bz2
clang-format test results to get consistent diffs.
Also fix the empty_string build, which was used to verify the script changes. BUG=none Review URL: https://codereview.chromium.org/1525673002 Cr-Commit-Position: refs/heads/master@{#365114}
Diffstat (limited to 'tools/clang/empty_string/tests')
-rw-r--r--tools/clang/empty_string/tests/test-expected.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/clang/empty_string/tests/test-expected.cc b/tools/clang/empty_string/tests/test-expected.cc
index 6762e37..3ae6702 100644
--- a/tools/clang/empty_string/tests/test-expected.cc
+++ b/tools/clang/empty_string/tests/test-expected.cc
@@ -13,8 +13,8 @@ void TestDeclarations() {
// Tests for std::string allocated with new.
void TestNew() {
- std::string* a = new std::string, *b = new std::string("abc"),
- *c = new std::string, *d = new std::string();
+ std::string *a = new std::string, *b = new std::string("abc"),
+ *c = new std::string, *d = new std::string();
}
// Tests for std::string construction in initializer lists.
@@ -43,4 +43,3 @@ void TestWideTemporaries(const std::wstring& reference_argument,
TestWideTemporaries(std::wstring(), std::wstring());
TestWideTemporaries(std::wstring(), std::wstring());
}
-