From 96e188931d0dac361095fa55c346054e06b3b2ed Mon Sep 17 00:00:00 2001 From: Brant Fitzsimmons Date: Mon, 25 May 2015 11:27:15 -0400 Subject: [PATCH] Fixed the JPEG watermark benchmark. I believe the wrong image type was being used for the benchmark. It didn't match the pattern of the other tests. --- resize_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resize_test.go b/resize_test.go index 6e8a150..b2109db 100644 --- a/resize_test.go +++ b/resize_test.go @@ -278,7 +278,7 @@ func BenchmarkWatermarkJpeg(b *testing.B) { Background: Color{255, 255, 255}, }, } - runBenchmarkResize("test.webp", options, b) + runBenchmarkResize("test.jpg", options, b) } func BenchmarkWatermarPng(b *testing.B) {