mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-15 20:23:50 -07:00
[tests] Change tests to output to stdout only with verbose flag
This hides stdout output unless "go test -v" was run.
This commit is contained in:
committed by
Junegunn Choi
parent
88d74a15aa
commit
71d11de7ca
@@ -1,7 +1,6 @@
|
||||
package fzf
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"regexp"
|
||||
"strings"
|
||||
@@ -207,7 +206,7 @@ func TestExtractColor(t *testing.T) {
|
||||
if output != "hello world" {
|
||||
t.Errorf("Invalid output: %s %v", output, []rune(output))
|
||||
}
|
||||
fmt.Println(src, ansiOffsets, clean)
|
||||
t.Log(src, ansiOffsets, clean)
|
||||
assertion(ansiOffsets, state)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user