pub fn assert_error_json(output: &Output, expected_code: i32) -> Value
Helper to assert command failed with expected exit code and return parsed JSON