Skip to content

Commit

Permalink
update reject and approve unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kushnaidu committed Jun 26, 2024
1 parent a14e991 commit 7e95895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/commands/rpkg/approve/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestCmd(t *testing.T) {
defer write.Close()
err := r.runE(cmd, []string{pkgRevName})
if err != nil && !tc.wantErr {
t.Errorf("unexpected error: %v", err)
t.Errorf("unexpected error: %v", err.Error())
}
}()
out, _ := io.ReadAll(read)
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/commands/rpkg/reject/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func TestCmd(t *testing.T) {
defer write.Close()
err := r.runE(cmd, []string{pkgRevName})
if err != nil && !tc.wantErr {
t.Errorf("unexpected error: %v", err)
t.Errorf("unexpected error: %v", err.Error())
}
}()
out, _ := io.ReadAll(read)
Expand Down

0 comments on commit 7e95895

Please # to comment.