| Index: components/policy/core/common/schema_unittest.cc
|
| diff --git a/components/policy/core/common/schema_unittest.cc b/components/policy/core/common/schema_unittest.cc
|
| index e0c1603e2c6ecc50c671af0a35d5bc93bbdd8970..8fe58cf29bfbf889f7b77ac72f3cfc9eec9af249 100644
|
| --- a/components/policy/core/common/schema_unittest.cc
|
| +++ b/components/policy/core/common/schema_unittest.cc
|
| @@ -111,6 +111,12 @@ TEST(SchemaTest, InvalidSchemas) {
|
| " \"type\": \"object\","
|
| " \"properties\": { \"Policy\": 123 }"
|
| "}"));
|
| +
|
| + EXPECT_FALSE(ParseFails(
|
| + "{"
|
| + " \"type\": \"object\","
|
| + " \"unknown attribute\": \"is ignored\""
|
| + "}"));
|
| }
|
|
|
| TEST(SchemaTest, Ownership) {
|
|
|