Index: components/policy/tools/generate_policy_source_test.py |
diff --git a/components/policy/tools/generate_policy_source_test.py b/components/policy/tools/generate_policy_source_test.py |
index 9de1bbba459e4b4a0a1bf6a8c061447b454b377c..0a426167a950f607f3d0c63a101b0903a6ae56a4 100755 |
--- a/components/policy/tools/generate_policy_source_test.py |
+++ b/components/policy/tools/generate_policy_source_test.py |
@@ -26,7 +26,7 @@ class CppGenerationTest(unittest.TestCase): |
# Strings |
stmts, expr = generate_policy_source._GenerateDefaultValue('foo') |
self.assertListEqual([], stmts) |
- self.assertEqual('base::MakeUnique<base::StringValue>("foo")', expr) |
+ self.assertEqual('base::MakeUnique<base::Value>("foo")', expr) |
# Empty list |
stmts, expr = generate_policy_source._GenerateDefaultValue([]) |
@@ -39,7 +39,7 @@ class CppGenerationTest(unittest.TestCase): |
self.assertListEqual([ |
'auto default_value = base::MakeUnique<base::ListValue>();', |
'default_value->Append(base::MakeUnique<base::Value>(1));', |
- 'default_value->Append(base::MakeUnique<base::StringValue>("2"));' |
+ 'default_value->Append(base::MakeUnique<base::Value>("2"));' |
], stmts) |
self.assertEqual('std::move(default_value)', expr) |