| 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 d63c12dc09f2ebe569f0b4efb86d9a6c201497d7..dd8c0cafe37d41255134d927905e44c10591f3b6 100644
|
| --- a/components/policy/core/common/schema_unittest.cc
|
| +++ b/components/policy/core/common/schema_unittest.cc
|
| @@ -858,16 +858,13 @@ TEST(SchemaTest, Validate) {
|
| Schema subschema = schema.GetProperty("StringWithPattern");
|
| ASSERT_TRUE(subschema.valid());
|
|
|
| - TestSchemaValidation(
|
| - subschema, base::StringValue("foobar"), SCHEMA_STRICT, false);
|
| - TestSchemaValidation(
|
| - subschema, base::StringValue("foo"), SCHEMA_STRICT, true);
|
| - TestSchemaValidation(
|
| - subschema, base::StringValue("fo"), SCHEMA_STRICT, false);
|
| - TestSchemaValidation(
|
| - subschema, base::StringValue("fooo"), SCHEMA_STRICT, true);
|
| - TestSchemaValidation(
|
| - subschema, base::StringValue("^foo+$"), SCHEMA_STRICT, false);
|
| + TestSchemaValidation(subschema, base::Value("foobar"), SCHEMA_STRICT,
|
| + false);
|
| + TestSchemaValidation(subschema, base::Value("foo"), SCHEMA_STRICT, true);
|
| + TestSchemaValidation(subschema, base::Value("fo"), SCHEMA_STRICT, false);
|
| + TestSchemaValidation(subschema, base::Value("fooo"), SCHEMA_STRICT, true);
|
| + TestSchemaValidation(subschema, base::Value("^foo+$"), SCHEMA_STRICT,
|
| + false);
|
| }
|
|
|
| // Tests on ObjectWithPatternProperties.
|
|
|