| Index: tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
|
| index 0d8663417b7fc82497c366be884694fff6529194..a3fc3a2c77f665b53476ad2cb4f51c93a8b38d7a 100644
|
| --- a/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
|
| +++ b/tools/grit/grit/format/policy_templates/writers/json_writer_unittest.py
|
| @@ -56,9 +56,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": True'
|
| - ' }'
|
| + ' "example_value": True'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -82,9 +80,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "hello, world!"'
|
| - ' }'
|
| + ' "example_value": "hello, world!"'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -108,9 +104,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": 15'
|
| - ' }'
|
| + ' "example_value": 15'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -138,9 +132,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' {"name": "ProxyServerAutoDetect", "value": 1, "caption": ""},'
|
| ' ],'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": 1'
|
| - ' }'
|
| + ' "example_value": 1'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -170,9 +162,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": ""},'
|
| ' ],'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "one"'
|
| - ' }'
|
| + ' "example_value": "one"'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -196,9 +186,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["foo", "bar"]'
|
| - ' }'
|
| + ' "example_value": ["foo", "bar"]'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -223,9 +211,7 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.mac:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["a"]'
|
| - ' }'
|
| + ' "example_value": ["a"]'
|
| ' },'
|
| ' ],'
|
| ' "placeholders": [],'
|
| @@ -251,18 +237,14 @@ class JsonWriterUnittest(writer_unittest_common.WriterUnittestCommon):
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": ["a", "b"]'
|
| - ' }'
|
| + ' "example_value": ["a", "b"]'
|
| ' },{'
|
| ' "name": "Policy2",'
|
| ' "type": "string",'
|
| ' "caption": "",'
|
| ' "desc": "",'
|
| ' "supported_on": ["chrome.linux:8-"],'
|
| - ' "annotations": {'
|
| - ' "example_value": "c"'
|
| - ' }'
|
| + ' "example_value": "c"'
|
| ' }],'
|
| ' },'
|
| ' ],'
|
|
|