From e825b14c75688a78a9e76aa1904f633a40b0e1e7 Mon Sep 17 00:00:00 2001 From: hackerman <3372410+aeneasr@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:44:29 +0200 Subject: [PATCH] chore(jsonnetx): support TB (#783) --- jsonnetsecure/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonnetsecure/provider.go b/jsonnetsecure/provider.go index dbc5dbca..2901d3e9 100644 --- a/jsonnetsecure/provider.go +++ b/jsonnetsecure/provider.go @@ -33,7 +33,7 @@ type ( } ) -func NewTestProvider(t *testing.T) *TestProvider { +func NewTestProvider(t testing.TB) *TestProvider { pool := NewProcessPool(runtime.GOMAXPROCS(0)) t.Cleanup(pool.Close) return &TestProvider{JsonnetTestBinary(t), pool}