test: fixed end_to_end_test

This commit is contained in:
Jarek Kowalski
2019-01-02 19:59:21 -08:00
parent b9cff7b480
commit 000ca67f25

View File

@@ -263,7 +263,7 @@ func trimOutput(s string) string {
}
func listSnapshotsAndExpectSuccess(t *testing.T, e *testenv, targets ...string) []sourceInfo {
lines := e.runAndExpectSuccess(t, append([]string{"snapshot", "list", "-a"}, targets...)...)
lines := e.runAndExpectSuccess(t, append([]string{"snapshot", "list", "-l"}, targets...)...)
return mustParseSnapshots(t, lines)
}