out-comment stderr debug output
Mathias Leppich mleppich@muhqu.de
Sun, 30 Mar 2014 22:30:38 +0200
1 files changed,
3 insertions(+),
5 deletions(-)
jump to
M
upskirtref_test.go
→
upskirtref_test.go
@@ -14,9 +14,7 @@
package blackfriday import ( - "fmt" "io/ioutil" - "os" "path/filepath" "testing" )@@ -52,13 +50,13 @@ continue
} 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 @@ if !testing.Short() {
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) } }