func assert(tb testing.TB, condition bool, msg string, v ...interface{}) {
	if !condition {
		_, file, line, _ := runtime.Caller(1)
		log.Printf("%s:%d: "+msg+"\n\n", append([]interface{}{filepath.Base(file), line}, v...)...)
		tb.FailNow()
	}
}
// assert fails the test if the condition is false.
assert fails the test if the condition is false.
// assert fails the test if the condition is false .
func assert(tb testing.TB, condition bool, msg string, v ...interface{}) {
	if !condition {
		_, file, line, _ := runtime.Caller(1)
		log.Printf("%s:%d: "+msg+"\n\n", append([]interface{}{filepath.Base(file), line}, v...)...)
		tb.FailNow()
	}
}
func assert ( tb testing . TB , condition bool , msg string , v ... interface { } ) { if ! condition { _ , file , line , _ := runtime . Caller ( 1 ) log . Printf ( " " + msg + " \n \n " , append ( [ ] interface { } { filepath . Base ( file ) , line } , v ... ) ... ) tb . FailNow ( ) } }
assert fails the test if the condition is false.
assert fails the test if the condition is false .