From f4e2f0812df1caf4db508ddeb322053df606d7d9 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 3 Aug 2015 13:55:09 +0200 Subject: [PATCH] gofmt --- text/fuzz.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/text/fuzz.go b/text/fuzz.go index b53c119..a7e4d7f 100644 --- a/text/fuzz.go +++ b/text/fuzz.go @@ -19,18 +19,18 @@ package text import "bytes" // Fuzz text metric parser with with github.com/dvyukov/go-fuzz: -// +// // go-fuzz-build github.com/prometheus/client_golang/text // go-fuzz -bin text-fuzz.zip -workdir fuzz // // Further input samples should go in the folder fuzz/corpus. func Fuzz(in []byte) int { - parser := Parser{} - _, err := parser.TextToMetricFamilies(bytes.NewReader(in)) + parser := Parser{} + _, err := parser.TextToMetricFamilies(bytes.NewReader(in)) - if err != nil { - return 0 - } + if err != nil { + return 0 + } - return 1 + return 1 }