Skip to content

Commit 7ffdbcc

Browse files
committed
fixup! Extract verifyImportState()
1 parent 14ffcb1 commit 7ffdbcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helper/resource/testing_new_import_state.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ func runImportTestStep(ctx context.Context, t testing.T, helper *plugintest.Help
308308
}
309309

310310
func verifyImportState(state *terraform.State, importState *terraform.State, identifierAttribute string, importStateVerifyIgnore []string) (testOutcome, error) {
311+
t.Helper()
312+
311313
// Ensure that we do not match against data sources as they
312314
// cannot be imported and are not what we want to verify.
313315
// Mode is not present in ResourceState so we use the

0 commit comments

Comments
 (0)