diff --git a/status_test.go b/status_test.go index 9b82907..c5af3b0 100644 --- a/status_test.go +++ b/status_test.go @@ -69,9 +69,10 @@ func TestStatusNothing(t *testing.T) { seedTestRepo(t, repo) - opts := &StatusOptions{} - opts.Show = StatusShowIndexAndWorkdir - opts.Flags = StatusOptIncludeUntracked | StatusOptRenamesHeadToIndex | StatusOptSortCaseSensitively + opts := &StatusOptions{ + Show: StatusShowIndexAndWorkdir, + Flags: StatusOptIncludeUntracked | StatusOptRenamesHeadToIndex | StatusOptSortCaseSensitively, + } statusList, err := repo.StatusList(opts) checkFatal(t, err)