mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 10:41:19 -08:00
tstest: take testing.TB in helper for benchmarks
Signed-off-by: David Crawshaw <[email protected]>
This commit is contained in:
1 parent
468bb3afce
commit
075593ff75
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ func goroutineDump() (int, string) {
|
||||
return p.Count(), b.String()
|
||||
}
|
||||
|
||||
func (r *ResourceCheck) Assert(t *testing.T) {
|
||||
func (r *ResourceCheck) Assert(t testing.TB) {
|
||||
t.Helper()
|
||||
want := r.startNumRoutines
|
||||
|
||||
|
||||
Reference in new issue
Block a user