mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
testing: fix benchmark logging output
This commit is contained in:
@@ -95,6 +95,10 @@ func (l *logger) WriteTo(w io.Writer) (int64, error) {
|
||||
|
||||
}
|
||||
|
||||
func (l *logger) Len() int {
|
||||
return l.b.Len()
|
||||
}
|
||||
|
||||
// Short reports whether the -test.short flag is set.
|
||||
func Short() bool {
|
||||
return flagShort
|
||||
|
||||
Reference in New Issue
Block a user