Skip to content

Commit

Permalink
remove license file after test
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Nov 18, 2022
1 parent 6754740 commit f19b198
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2215,6 +2215,7 @@ func validateLicenseCmd(ctx context.Context, t *testing.T, _ string) {
if rr, err := Run(t, exec.CommandContext(ctx, Target(), "license")); err != nil {
t.Fatalf("command %q failed: %v", rr.Stdout.String(), err)
}
defer os.Remove("./licenses")
files, err := os.ReadDir("./licenses")
if err != nil {
t.Fatalf("failed to read licenses dir: %v", err)
Expand Down

0 comments on commit f19b198

Please sign in to comment.