Skip to content

Commit

Permalink
test: Make error reporting more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Dec 13, 2024
1 parent e7fd53a commit 33a3bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/solver/matcher/matcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func TestMatchOffers(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
result := matchOffers(tc.resourceOffer(basicResourceOffer), tc.jobOffer(basicJobOffer))
if result.matched() != tc.shouldMatch {
t.Errorf("Expected match to be %v, but got %v", tc.shouldMatch, result)
t.Errorf("Expected match to be %v, but got %+v", tc.shouldMatch, result)
}
})
}
Expand Down

0 comments on commit 33a3bc0

Please sign in to comment.