mirror of https://github.com/spf13/cobra.git
quiet down to go test for markdown generation
We were printing the markdown, don't ask me why.
This commit is contained in:
parent
af6b555418
commit
a112838e26
|
@ -59,6 +59,4 @@ func TestGenMdDoc(t *testing.T) {
|
||||||
if !strings.Contains(found, expected) {
|
if !strings.Contains(found, expected) {
|
||||||
t.Errorf("Unexpected response.\nExpecting to contain: \n %q\nGot:\n %q\n", expected, found)
|
t.Errorf("Unexpected response.\nExpecting to contain: \n %q\nGot:\n %q\n", expected, found)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(os.Stdout, "%s\n", found)
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue