gitlab.com/evatix-go/core@v1.3.55/coretests/PrintFailedExpected.go (about) 1 package coretests 2 3 import "fmt" 4 5 func PrintFailedExpected( 6 isFailed bool, 7 when, 8 actual, 9 expected interface{}, 10 counter int, 11 ) { 12 if isFailed { 13 message := GetAssertMessageQuick(when, actual, expected, counter) 14 15 fmt.Println(message) 16 } 17 }