mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Fix lint issues in internal/tofu (#2790)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com> Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
This commit is contained in:
@@ -155,7 +155,7 @@ func TestNodeValidatableResource_ValidateProvisioner__connectionInvalid(t *testi
|
||||
}
|
||||
|
||||
errStr := diags.Err().Error()
|
||||
if !(strings.Contains(errStr, "bananananananana") && strings.Contains(errStr, "bazaz")) {
|
||||
if !strings.Contains(errStr, "bananananananana") || !strings.Contains(errStr, "bazaz") {
|
||||
t.Fatalf("wrong errors %q; want something about each of our invalid connInfo keys", errStr)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user