(t *testing.T, cmd *cobra.Command)
| 285 | } |
| 286 | |
| 287 | func setRestoreOutputJSON(t *testing.T, cmd *cobra.Command) { |
| 288 | t.Helper() |
| 289 | |
| 290 | if err := cmd.Flags().Set(outputFlag, "json"); err != nil { |
| 291 | t.Fatal(err) |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | type restoreOutput struct { |
| 296 | Input restoreInput `json:"input"` |
no outgoing calls
no test coverage detected