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 (
 | 
					import (
 | 
				
			||||||
	"errors"
 | 
						"errors"
 | 
				
			||||||
	"fmt"
 | 
					 | 
				
			||||||
	"reflect"
 | 
						"reflect"
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
@ -69,9 +68,9 @@ func TestScanner(t *testing.T) {
 | 
				
			|||||||
		// 	continue
 | 
							// 	continue
 | 
				
			||||||
		// }
 | 
							// }
 | 
				
			||||||
		if input.wantErr == nil {
 | 
							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 {
 | 
							} 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)
 | 
							r := strings.NewReader(input.source)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user