ifsubStr:="There are some problems with the configuration, described below";!strings.Contains(errStr,subStr){
ifsubStr:="Terraform encountered problems during initialisation, including problems\nwith the configuration, described below.";!strings.Contains(errStr,subStr){
t.Errorf("Error output should include preamble\nwant substr: %s\ngot:\n%s",subStr,errStr)
ifsubStr:="There are some problems with the configuration, described below";!strings.Contains(errStr,subStr){
ifsubStr:="Terraform encountered problems during initialisation, including problems\nwith the configuration, described below.";!strings.Contains(errStr,subStr){
t.Errorf("Error output should include preamble\nwant substr: %s\ngot:\n%s",subStr,errStr)
ifsubStr:="There are some problems with the configuration, described below";strings.Contains(errStr,subStr){
t.Errorf("Error output should not include preamble\nwant substr: %s\ngot:\n%s",subStr,errStr)
ifsubStr:="Terraform encountered problems during initialisation, including problems\nwith the configuration, described below.";!strings.Contains(errStr,subStr){
t.Errorf("Error output should include preamble\nwant substr: %s\ngot:\n%s",subStr,errStr)
t.Fatalf("succeeded, but was expecting error\nstdout:\n%s\nstderr:\n%s",ui.OutputWriter,ui.ErrorWriter)
}
errStr:=ui.ErrorWriter.String()
ifsubStr:="Terraform encountered problems during initialisation, including problems\nwith the configuration, described below.";!strings.Contains(errStr,subStr){
t.Errorf("Error output should include preamble\nwant substr: %s\ngot:\n%s",subStr,errStr)
"The `terraform` configuration block should contain only concrete and static values. Another diagnostic should contain more information about which part of the configuration is problematic."))