Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/hashicorp/terraform-exec v0.24.0
github.com/hashicorp/terraform-json v0.27.2
github.com/hashicorp/terraform-plugin-go v0.29.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-log v0.10.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1
github.com/mitchellh/go-testing-interface v1.14.1
github.com/zclconf/go-cty v1.17.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ github.com/hashicorp/terraform-json v0.27.2 h1:BwGuzM6iUPqf9JYM/Z4AF1OJ5VVJEEzoK
github.com/hashicorp/terraform-json v0.27.2/go.mod h1:GzPLJ1PLdUG5xL6xn1OXWIjteQRT2CNT9o/6A9mi9hE=
github.com/hashicorp/terraform-plugin-go v0.29.0 h1:1nXKl/nSpaYIUBU1IG/EsDOX0vv+9JxAltQyDMpq5mU=
github.com/hashicorp/terraform-plugin-go v0.29.0/go.mod h1:vYZbIyvxyy0FWSmDHChCqKvI40cFTDGSb3D8D70i9GM=
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
github.com/hashicorp/terraform-plugin-log v0.10.0 h1:eu2kW6/QBVdN4P3Ju2WiB2W3ObjkAsyfBsL3Wh1fj3g=
github.com/hashicorp/terraform-plugin-log v0.10.0/go.mod h1:/9RR5Cv2aAbrqcTSdNmY1NRHP4E3ekrXRGjqORpXyB0=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1 h1:mlAq/OrMlg04IuJT7NpefI1wwtdpWudnEmjuQs04t/4=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1/go.mod h1:GQhpKVvvuwzD79e8/NZ+xzj+ZpWovdPAe8nfV/skwNU=
github.com/hashicorp/terraform-registry-address v0.4.0 h1:S1yCGomj30Sao4l5BMPjTGZmCNzuv7/GDTDX99E9gTk=
Expand Down
140 changes: 0 additions & 140 deletions helper/logging/logging.go

This file was deleted.

2 changes: 1 addition & 1 deletion internal/logging/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
func InitTestContext(ctx context.Context, t testing.T) context.Context {
helperlogging.SetOutput(t)

ctx = tfsdklog.RegisterTestSink(ctx, t)
ctx = tfsdklog.ContextWithTestLogging(ctx, t.Name())
ctx = tfsdklog.NewRootSDKLogger(ctx, tfsdklog.WithLevelFromEnv(EnvTfLogSdk))
ctx = tfsdklog.NewSubsystem(ctx, SubsystemHelperResource,
// All calls are through the HelperResource* helper functions
Expand Down
205 changes: 205 additions & 0 deletions internal/testing/hack/t.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package hack

import (
"context"
"fmt"
"io"
"testing"
"time"
)

// BaseT is a replacement for github.com/mitchellh/go-testing-interface.T.
//
// RuntimeT and StandardT are two implementations of BaseT. MetaT can be used
// to test a testing.T-based test framework without the side effects of
// stopping goroutine execution. StandardT can be used as an adapter around a
// standard testing.T.
//
// Precedent for StandardT: the unexported tshim type in
// github.com/rogpeppe/go-internal/testscript.
type BaseT interface {
Cleanup(func())
Error(args ...interface{})
Errorf(format string, args ...interface{})
Fail()
FailNow()
Failed() bool
Fatal(args ...interface{})
Fatalf(format string, args ...interface{})
Helper()
Log(args ...interface{})
Logf(format string, args ...interface{})
Name() string
Parallel()
Skip(args ...interface{})
SkipNow()
Skipf(format string, args ...interface{})
Skipped() bool

// Not in mitchellh/go-testing-interface
Attr(key, value string)
Chdir(dir string)
Context() context.Context
Deadline() (deadline time.Time, ok bool)
Output() io.Writer
Setenv(key, value string)
TempDir() string
}

var _ BaseT = MetaT{}

type MetaT struct {
fail bool
skip bool
}

// Attr satisfies [BaseT] and does nothing.
func (t MetaT) Attr(key string, value string) {
}

// Chdir satisfies [BaseT] and does nothing.
func (r MetaT) Chdir(dir string) {
}

// Cleanup satisfies [BaseT] and does nothing.
func (r MetaT) Cleanup(_ func()) {
}

// Context satisfies [BaseT] and returns context.TODO()
func (r MetaT) Context() context.Context {
return context.TODO()
}

// Deadline satisfies [BaseT] and returns zero-values.
func (r MetaT) Deadline() (deadline time.Time, ok bool) {
return time.Time{}, false
}

// Error is equivalent to Log followed by Fail.
func (t MetaT) Error(args ...interface{}) {
t.Log(args)
t.Fail()
}

// Errorf is equivalent to Logf followed by Fail.
func (t MetaT) Errorf(format string, args ...interface{}) {
t.Logf(format, args...)
t.Fail()
}

// Fail marks the function as having failed but continues execution.
func (t MetaT) Fail() {
t.fail = true
}

// Failed reports whether the function has failed.
func (t MetaT) Failed() bool {
return t.fail
}

// FailNow marks the function as having failed and stops its execution by
// calling panic().
//
// For compatibility, it mimics the string argument from
// mitchellg/go-testing-interface.
func (t MetaT) FailNow() {
panic("testing.T failed, see logs for output")
}

// Fatal is equivalent to Log followed by FailNow.
func (t MetaT) Fatal(args ...interface{}) {
t.Log(args)
t.FailNow()
}

// Fatalf is equivalent to Logf followed by FailNow.
func (t MetaT) Fatalf(format string, args ...interface{}) {
t.Logf(format, args...)
t.FailNow()
}

// Log formats its arguments using default formatting, analogous to
// fmt.Println,, and records the text to standard output.
func (t MetaT) Log(args ...interface{}) {
fmt.Println(fmt.Sprintf("%v", args))
}

// Logf formats its arguments according to the format, analogous to fmt.Printf,
// and records the text to standard output.
func (t MetaT) Logf(format string, args ...interface{}) {
fmt.Println(fmt.Sprintf(format, args...))
}

// Helper satisfies [BaseT] and does nothing.
func (r MetaT) Helper() {
}

// Name satisfies [BaseT] and returns an empty string.
func (r MetaT) Name() string {
return ""
}

// Output satisfied [BaseT] and returns io.Discard.
func (r MetaT) Output() io.Writer {
return io.Discard
}

// Parallel satisfies [BaseT] and does nothing.
func (r MetaT) Parallel() {
panic("parallel not implemented") // TODO: Implement
}

// Setenv satisfies [BaseT] and does nothing.
func (r MetaT) Setenv(key string, value string) {
}

// SkipNow marks the test as having been skipped.
//
// As a practical consideration, this does not stop execution in the way that
// [testing.T.SkipNow] does -- RuntimeT.Run does not run its function in a
// separate goroutine.
func (t MetaT) SkipNow() {
t.Skip()
}

// Skipf is equivalent to Logf followed by SkipNow.
func (t MetaT) Skipf(format string, args ...interface{}) {
t.Logf(format, args...)
t.Skip()
}

// TempDir satisfies [BaseT] and returns "/dev/null".
func (r MetaT) TempDir() string {
return "/dev/null"
}

// Skip is equivalent to Log followed by SkipNow.
func (t MetaT) Skip(args ...interface{}) {
t.Log(args)
t.skip = true
}

// Skipped reports whether the test was skipped.
func (t MetaT) Skipped() bool {
return t.skip
}

var _ BaseT = StandardT{}

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / golangci-lint

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.12.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.13.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.2.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.3.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.9.0-alpha20240501)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.14.0-rc2)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.10.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.14.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.6.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.15.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.8.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.1.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.4.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.11.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.5.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.0.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.7.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.12.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.9.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

Check failure on line 190 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.13.*)

cannot use StandardT{} (value of struct type StandardT) as BaseT value in variable declaration: StandardT does not implement BaseT (missing method Attr)

// StandardT embeds a [testing.T] and satisfies [BaseT].
type StandardT struct {
*testing.T
}

// Run runs f as a subtest of t.
//
// As practical consideration, this does nsot run its function in a separate
// goroutine and the name is not used.
func (t StandardT) Run(name string, f func(BaseT)) bool {
return t.T.Run(name, func(t *testing.T) {
f(StandardT{t})

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / golangci-lint

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr) (typecheck)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.12.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.13.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.2.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.3.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.9.0-alpha20240501)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.14.0-rc2)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.10.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.14.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.6.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 0.15.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.8.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.1.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.4.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.11.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.5.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.0.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.7.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.12.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.9.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)

Check failure on line 203 in internal/testing/hack/t.go

View workflow job for this annotation

GitHub Actions / test (Go 1.24 / TF 1.13.*)

cannot use StandardT{…} (value of struct type StandardT) as BaseT value in argument to f: StandardT does not implement BaseT (missing method Attr)
})
}
4 changes: 2 additions & 2 deletions tfversion/any_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"github.com/hashicorp/go-version"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
testinginterface "github.com/mitchellh/go-testing-interface"
"github.com/hashicorp/terraform-plugin-testing/internal/testing/hack"

r "github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-plugin-testing/internal/plugintest"
Expand Down Expand Up @@ -74,7 +74,7 @@
t.Setenv("TF_ACC_TERRAFORM_VERSION", "1.1.0")

plugintest.TestExpectTFatal(t, func() {
r.UnitTest(&testinginterface.RuntimeT{}, r.TestCase{
r.UnitTest(&hack.RuntimeT{}, r.TestCase{

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 0.12.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 0.13.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.3.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 0.14.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.1.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.2.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 0.15.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.13.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.0.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.12.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.10.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.9.0-alpha20240501)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.5.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.6.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.7.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.14.0-rc2)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.8.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.4.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.11.*)

undefined: hack.RuntimeT

Check failure on line 77 in tfversion/any_test.go

View workflow job for this annotation

GitHub Actions / test (Go 1.25 / TF 1.9.*)

undefined: hack.RuntimeT
ProtoV6ProviderFactories: map[string]func() (tfprotov6.ProviderServer, error){
"test": func() (tfprotov6.ProviderServer, error) { //nolint:unparam // required signature
return nil, nil
Expand Down
Loading