ai_old/goja/tc39_norace_test.go
2024-09-20 16:50:35 +08:00

20 lines
319 B
Go

//go:build !race
// +build !race
package goja
import "testing"
// Prevent linter warnings about unused type
var _ = tc39Test{name: "", f: nil}
func (ctx *tc39TestCtx) runTest(name string, f func(t *testing.T)) {
ctx.t.Run(name, func(t *testing.T) {
t.Parallel()
f(t)
})
}
func (ctx *tc39TestCtx) flush() {
}