| Index: third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp
|
| index 8cb08292c6cc6bbf92dbf390f0385b888528adba..d41a63398b41831c7ecf07925ff9a465cba7f7b4 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentStatisticsCollectorTest.cpp
|
| @@ -147,9 +147,10 @@ TEST_F(DocumentStatisticsCollectorTest, CountScoreSaturation) {
|
| DocumentStatisticsCollector::collectStatistics(document());
|
|
|
| double error = 1e-5;
|
| - EXPECT_NEAR(features.mozScore, 6 * sqrt(kTextContentLengthSaturation -
|
| - kParagraphLengthThreshold),
|
| - error);
|
| + EXPECT_NEAR(
|
| + features.mozScore,
|
| + 6 * sqrt(kTextContentLengthSaturation - kParagraphLengthThreshold),
|
| + error);
|
| EXPECT_NEAR(features.mozScoreAllSqrt, 6 * sqrt(kTextContentLengthSaturation),
|
| error);
|
| EXPECT_NEAR(features.mozScoreAllLinear, 6 * kTextContentLengthSaturation,
|
|
|