| Index: components/policy/core/common/policy_loader_win_unittest.cc
|
| diff --git a/components/policy/core/common/policy_loader_win_unittest.cc b/components/policy/core/common/policy_loader_win_unittest.cc
|
| index f03370928f425033d319a1fa17998ff930421e64..c79dbb6ddc24cb9864ee5c0579a03cc7ee43a7fc 100644
|
| --- a/components/policy/core/common/policy_loader_win_unittest.cc
|
| +++ b/components/policy/core/common/policy_loader_win_unittest.cc
|
| @@ -39,6 +39,7 @@
|
| #include "components/policy/core/common/external_data_fetcher.h"
|
| #include "components/policy/core/common/policy_bundle.h"
|
| #include "components/policy/core/common/policy_map.h"
|
| +#include "components/policy/core/common/policy_test_utils.h"
|
| #include "components/policy/core/common/policy_types.h"
|
| #include "components/policy/core/common/preg_parser_win.h"
|
| #include "components/policy/core/common/schema_map.h"
|
| @@ -751,7 +752,12 @@ class PolicyLoaderWinTest : public PolicyTestBase,
|
| gpo_list_provider_);
|
| std::unique_ptr<PolicyBundle> loaded(
|
| loader.InitialLoad(schema_registry_.schema_map()));
|
| - return loaded->Equals(expected);
|
| + bool match = loaded->Equals(expected);
|
| + if (!match) {
|
| + LOG(ERROR) << "EXPECTED: " << expected;
|
| + LOG(ERROR) << "ACTUAL: " << *loaded.get();
|
| + }
|
| + return match;
|
| }
|
|
|
| void InstallRegistrySentinel() {
|
|
|