Skip to content

Commit

Permalink
fix rpm unit test
Browse files Browse the repository at this point in the history
Signed-off-by: ashnamehrotra <[email protected]>
  • Loading branch information
ashnamehrotra committed Feb 4, 2025
1 parent 8f192bf commit e2d239d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/pkgmgr/rpm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ func TestParseManifestFile(t *testing.T) {
name: "Valid input",
input: "package1\t1.0.0.cm2\npackage2\t2.3.4.cm2\n",
expected: map[string]string{
"package1": "1.0.0",
"package2": "2.3.4",
"package1": "1.0.0.cm2",
"package2": "2.3.4.cm2",
},
wantErr: false,
},
Expand All @@ -501,8 +501,8 @@ func TestParseManifestFile(t *testing.T) {
name: "Input with extra tabs",
input: "package1\t1.0.0.cm2\textra\npackage2\t2.3.4.cm2\n",
expected: map[string]string{
"package1": "1.0.0",
"package2": "2.3.4",
"package1": "1.0.0.cm2",
"package2": "2.3.4.cm2",
},
wantErr: false,
},
Expand Down

0 comments on commit e2d239d

Please sign in to comment.