fixing commit latest bug

This commit is contained in:
zricethezav committed 2020-04-05 11:31:22 -04:00
1 parent 212232f80a
commit b4a0577786
4 files changed
+35 -12

No files matched your search

+10
View File
@@ -263,6 +263,16 @@ func TestAudit(t *testing.T) {
},
wantPath: "../test_data/test_local_repo_five_commit.json",
},
{
description: "test local repo five at latest commit",
opts: options.Options{
RepoPath: "../test_data/test_repos/test_repo_5",
Report: "../test_data/test_local_repo_five_at_latest_commit.json.got",
Commit: "latest",
ReportFormat: "json",
},
wantPath: "../test_data/test_local_repo_five_at_latest_commit.json",
},
{
description: "test local repo six filename",
opts: options.Options{