Skip to content

Commit

Permalink
sync test with nfpm rpm naming
Browse files Browse the repository at this point in the history
  • Loading branch information
thepwagner committed Oct 3, 2023
1 parent 9cb79bc commit 6242d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestGenerate_Directory(t *testing.T) {
deb, err := os.Stat(filepath.Join(tmpDir, "hansel-breadcrumb_1.0.0_amd64.deb"))
require.NoError(t, err)
assert.Greater(t, deb.Size(), int64(0))
rpm, err := os.Stat(filepath.Join(tmpDir, "hansel-breadcrumb-1.0.0.x86_64.rpm"))
rpm, err := os.Stat(filepath.Join(tmpDir, "hansel-breadcrumb-1.0.0-1.x86_64.rpm"))
require.NoError(t, err)
assert.Greater(t, rpm.Size(), int64(0))
}
Expand Down

0 comments on commit 6242d62

Please sign in to comment.