From 33a3bc0757564a5d2353a0b0a95fc7a94e414a65 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 3819a64f..8d4599aa 100644 --- a/pkg/solver/matcher/matcher_test.go +++ b/pkg/solver/matcher/matcher_test.go @@ -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) } }) }