From 740046968024a217d5fb8112b0914b7bc939a790 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Wed, 7 Feb 2018 08:35:16 -0600 Subject: [PATCH] gps: BenchmarkCreateVendorTree - fatal error instead of nil panic --- gps/solution_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gps/solution_test.go b/gps/solution_test.go index 2bb2ab42..b94e81ec 100644 --- a/gps/solution_test.go +++ b/gps/solution_test.go @@ -143,8 +143,7 @@ func BenchmarkCreateVendorTree(b *testing.B) { Logger: log.New(test.Writer{TB: b}, "", 0), }) if err != nil { - b.Errorf("failed to create SourceManager: %q", err) - clean = false + b.Fatalf("failed to create SourceManager: %q", err) } // Prefetch the projects before timer starts