t_scanner_test.go: replaced t.Log(fmtStringf()) with t.Logf()
This commit is contained in:
parent
34874ef663
commit
dd6404c786
@ -6,7 +6,6 @@ package expr
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"strings"
|
||||
"testing"
|
||||
@ -69,9 +68,9 @@ func TestScanner(t *testing.T) {
|
||||
// continue
|
||||
// }
|
||||
if input.wantErr == nil {
|
||||
t.Log(fmt.Sprintf("[+]Test nr %2d -- %q", i+1, input.source))
|
||||
t.Logf("[+]Test nr %2d -- %q", i+1, input.source)
|
||||
} else {
|
||||
t.Log(fmt.Sprintf("[-]Test nr %2d -- %q", i+1, input.source))
|
||||
t.Logf("[-]Test nr %2d -- %q", i+1, input.source)
|
||||
}
|
||||
|
||||
r := strings.NewReader(input.source)
|
||||
|
Loading…
Reference in New Issue
Block a user