(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestMaintenanceInfoSimple(t *testing.T) { |
| 12 | t.Parallel() |
| 13 | |
| 14 | e := testenv.NewCLITest(t, testenv.RepoFormatNotImportant, testenv.NewInProcRunner(t)) |
| 15 | defer e.RunAndExpectSuccess(t, "repo", "disconnect") |
| 16 | |
| 17 | var mi cli.MaintenanceInfo |
| 18 | |
| 19 | e.RunAndExpectSuccess(t, "repo", "create", "filesystem", "--path", e.RepoDir) |
| 20 | e.RunAndExpectSuccess(t, "maintenance", "info") |
| 21 | testutil.MustParseJSONLines(t, e.RunAndExpectSuccess(t, "maintenance", "info", "--json"), &mi) |
| 22 | } |
nothing calls this directly
no test coverage detected