You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for raising this, @ewbankkit 👍 This seems very reasonable, especially given that if we were likely to rewrite the internals of the testing logic, it would probably pass error types directly, rather than testing.T, which would prevent this sort of issue. If you are willing to submit a pull request for this change, we would be happy to review it.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
terraform-plugin-testing version
Actual Behavior
terraform-plugin-testing/helper/resource/testing_new.go
Line 91 in 058bbd4
This is in a function that is
defer
ed. The outer function does calltesting.T.Helper()
, but it is not called in the inner (defer
ed function).Expected Behavior
The file and line number reported should be from the calling test case.
The text was updated successfully, but these errors were encountered: