From 093273323af9011bf873707b22b7659703557904 Mon Sep 17 00:00:00 2001 From: Mathias Leppich Date: Sun, 30 Mar 2014 22:30:38 +0200 Subject: [PATCH] out-comment stderr debug output --- upskirtref_test.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/upskirtref_test.go b/upskirtref_test.go index a70a739..42a0bdd 100644 --- a/upskirtref_test.go +++ b/upskirtref_test.go @@ -14,9 +14,7 @@ package blackfriday import ( - "fmt" "io/ioutil" - "os" "path/filepath" "testing" ) @@ -52,13 +50,13 @@ func doTestsReference(t *testing.T, files []string, flag int) { } expected := string(expectedBytes) - fmt.Fprintf(os.Stderr, "processing %s ...", filename) + // fmt.Fprintf(os.Stderr, "processing %s ...", filename) actual := string(runMarkdownReference(input, flag)) if actual != expected { t.Errorf("\n [%#v]\nExpected[%#v]\nActual [%#v]", basename+".text", expected, actual) } - fmt.Fprintf(os.Stderr, " ok\n") + // fmt.Fprintf(os.Stderr, " ok\n") // now test every prefix of every input to check for // bounds checking @@ -66,7 +64,7 @@ func doTestsReference(t *testing.T, files []string, flag int) { start, max := 0, len(input) for end := start + 1; end <= max; end++ { candidate = input[start:end] - fmt.Fprintf(os.Stderr, " %s %d:%d/%d\n", filename, start, end, max) + // fmt.Fprintf(os.Stderr, " %s %d:%d/%d\n", filename, start, end, max) _ = runMarkdownReference(candidate, flag) } }