| Index: components/sync/api/sync_error_unittest.cc
|
| diff --git a/sync/api/sync_error_unittest.cc b/components/sync/api/sync_error_unittest.cc
|
| similarity index 96%
|
| rename from sync/api/sync_error_unittest.cc
|
| rename to components/sync/api/sync_error_unittest.cc
|
| index a52461c2aa613d85ae74a4ddc8ee1e5a6ca28403..d36bbae383d72386f8953df911cc9702d47dff04 100644
|
| --- a/sync/api/sync_error_unittest.cc
|
| +++ b/components/sync/api/sync_error_unittest.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "sync/api/sync_error.h"
|
| +#include "components/sync/api/sync_error.h"
|
|
|
| #include <string>
|
|
|
| @@ -43,7 +43,7 @@ TEST_F(SyncErrorTest, LowSeverity) {
|
| ASSERT_TRUE(error.IsSet());
|
| EXPECT_EQ(location.line_number(), error.location().line_number());
|
| EXPECT_EQ("disabled due to configuration constraints: ",
|
| - error.GetMessagePrefix());
|
| + error.GetMessagePrefix());
|
| EXPECT_EQ(msg, error.message());
|
| EXPECT_EQ(type, error.model_type());
|
| EXPECT_EQ(SyncError::SYNC_ERROR_SEVERITY_INFO, error.GetSeverity());
|
| @@ -133,7 +133,7 @@ TEST_F(SyncErrorTest, ToString) {
|
| std::string msg = "test";
|
| ModelType type = PREFERENCES;
|
| std::string expected = std::string(ModelTypeToString(type)) +
|
| - " datatype error was encountered: " + msg;
|
| + " datatype error was encountered: " + msg;
|
| LOG(INFO) << "Expect " << expected;
|
| SyncError error(location, SyncError::DATATYPE_ERROR, msg, type);
|
| EXPECT_TRUE(error.IsSet());
|
|
|