Hello I have the following test
func badTags(t *testing.T){
terraformOptions := &terraform.Options{
TerraformDir: "../bad_values",
}
tags := terraform.Output(t, terraformOptions, "test_required_tags")
assert.Error(t, tags)
}
Note that the value of tag should throw an error but I keep getting the following error
string does not implement error (missing Error method)
If I remove the assertion , an error with a String message is throws as expected. How can I assert on the error?