| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "core/html/parser/HTMLParserIdioms.h" | 5 #include "core/html/parser/HTMLParserIdioms.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 TEST(HTMLParserIdiomsTest, ParseHTMLListOfFloatingPointNumbers_null) | 13 TEST(HTMLParserIdiomsTest, ParseHTMLListOfFloatingPointNumbers_null) |
| 14 { | 14 { |
| 15 Vector<double> numbers = parseHTMLListOfFloatingPointNumbers(nullAtom); | 15 Vector<double> numbers = parseHTMLListOfFloatingPointNumbers(nullAtom); |
| 16 EXPECT_EQ(numbers.size(), 0u); | 16 EXPECT_EQ(0u, numbers.size()); |
| 17 } | 17 } |
| 18 | 18 |
| 19 } // namespace | 19 } // namespace |
| 20 | 20 |
| 21 } // namespace blink | 21 } // namespace blink |
| OLD | NEW |