mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
testing: add a stub for CoverMode
This allows the strings package test to compile.
This commit is contained in:
@@ -302,6 +302,13 @@ func Verbose() bool {
|
||||
return flagVerbose
|
||||
}
|
||||
|
||||
// CoverMode reports what the test coverage mode is set to.
|
||||
//
|
||||
// Test coverage is not supported; this returns the empty string.
|
||||
func CoverMode() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// AllocsPerRun returns the average number of allocations during calls to f.
|
||||
// Although the return value has type float64, it will always be an integral
|
||||
// value.
|
||||
|
||||
Reference in New Issue
Block a user