| Index: recipe_modules/json/example.expected/basic.json
|
| diff --git a/recipe_modules/json/example.expected/basic.json b/recipe_modules/json/example.expected/basic.json
|
| index 613adfac52c2641f99182bb20499182392c7cbaa..f62ad30d3f6446c326a9eef245ee569bb6aa0951 100644
|
| --- a/recipe_modules/json/example.expected/basic.json
|
| +++ b/recipe_modules/json/example.expected/basic.json
|
| @@ -128,11 +128,41 @@
|
| ],
|
| "name": "invalid json",
|
| "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output (invalid)@{\"here is some total@@@",
|
| - "@@@STEP_LOG_LINE@json.output (invalid)@garbage@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@",
|
| + "@@@STEP_LOG_LINE@json.output (exception)@input was invalid@@@",
|
| "@@@STEP_LOG_LINE@json.output (exception)@Invalid control character at: line 1 column 21 (char 20)@@@",
|
| - "@@@STEP_LOG_END@json.output (exception)@@@"
|
| + "@@@STEP_LOG_END@json.output (exception)@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{\"here is some total@@@",
|
| + "@@@STEP_LOG_LINE@json.output@garbage@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "RECIPE[recipe_engine::json:example].resources/cool_script.py",
|
| + "",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "empty json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output (exception)@input was empty@@@",
|
| + "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@",
|
| + "@@@STEP_LOG_END@json.output (exception)@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "RECIPE[recipe_engine::json:example].resources/cool_script.py",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "None json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output (exception)@input was empty@@@",
|
| + "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@",
|
| + "@@@STEP_LOG_END@json.output (exception)@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| ]
|
| },
|
| {
|
|
|