Chromium Code Reviews| Index: recipe_modules/json/example.py |
| diff --git a/recipe_modules/json/example.py b/recipe_modules/json/example.py |
| index 38b50d57b4eebccba0b0b21c802d72de25edb18c..83f9677aa63ca54d0390fb5d6c8b8fbef32aebb4 100644 |
| --- a/recipe_modules/json/example.py |
| +++ b/recipe_modules/json/example.py |
| @@ -37,9 +37,11 @@ def RunSteps(api): |
| with open(sys.argv[2], 'w') as f: |
| f.write(json.dumps(['x', 'y', %s])) |
| """ % repr(FULLWIDTH_Z), |
| - args=[api.json.output(), api.json.output()], |
| + args=[api.json.output(id='1'), api.json.output(id='2')], |
| ) |
| assert result.json.output_all == [[1, 2, 3], ['x', 'y', FULLWIDTH_Z]] |
|
martiniss
2016/03/10 02:02:30
Add a TODO here to delete when the bug is closed?
stgao
2016/03/10 20:34:23
Remove in this CL directly.
|
| + assert result.json.outputs['1'] == [1, 2, 3] |
| + assert result.json.outputs['2'] == ['x', 'y', FULLWIDTH_Z] |
|
iannucci
2016/03/10 03:17:42
awesome :)
|
| example_dict = {'x': 1, 'y': 2} |