From d0384bdae5b408aacbee6ae0a4aff3dd73d33dcd Mon Sep 17 00:00:00 2001 From: Brian Ginsburg Date: Fri, 13 Dec 2024 09:43:16 -0800 Subject: [PATCH] test: Make error reporting more verbose --- pkg/solver/matcher/matcher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/solver/matcher/matcher_test.go b/pkg/solver/matcher/matcher_test.go index 6fdd0e54..56bd7dd0 100644 --- a/pkg/solver/matcher/matcher_test.go +++ b/pkg/solver/matcher/matcher_test.go @@ -325,7 +325,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) } }) }