Something went wrong. Try again.
forked from tailscale/tailscale
Something went wrong. Try again.
12345678910111213141516171819202122232425// Copyright (c) Tailscale Inc & contributors// SPDX-License-Identifier: BSD-3-Clause
package testmain
import ( "sync" "testing")
var counter int
func TestPass(t *testing.T) {}
func TestMain(m *testing.M) { code := m.Run() var wg sync.WaitGroup wg.Add(2) go func() { defer wg.Done(); counter++ }() go func() { defer wg.Done(); counter++ }() wg.Wait() _ = code}