terraform: test helpers for printing diagnostics in a useful way
terraform: test helpers for printing diagnostics in a useful way

We often want to bail out of a test if diagnostics are present, and it's
easiest to debug that when the diagnostics are printed in a compact but
complete manner that is non-trivial to produce.

Rather than duplicating that diagnostic formatting in every test, these
helpers allow us to succinctly print diagnostics and bail out when they
are present.

tpounds/terraform,ewbankkit/terraform,VladRassokhin/terraform,rnaveiras/terraform,pdecat/terraform,luis-silva/terraform,heimweh/terraform,heimweh/terraform,VladRassokhin/terraform,youhong316/terraform,rnaveiras/terraform,iljaskevic/terraform,iljaskevic/terraform,apparentlymart/terraform,heimweh/terraform,youhong316/terraform,VladRassokhin/terraform,pradeepbhadani/terraform,tommynsong/terraform,pradeepbhadani/terraform,pdecat/terraform,luis-silva/terraform,brandontosch/terraform,gechr/terraform,iljaskevic/terraform,iljaskevic/terraform,drebes/terraform,pdecat/terraform,nlamirault/terraform,apparentlymart/terraform,drebes/terraform,heimweh/terraform,gechr/terraform,tpounds/terraform,ewbankkit/terraform,pryorda/terraform,apparentlymart/terraform,brandontosch/terraform,drebes/terraform,hashicorp/terraform,VladRassokhin/terraform,ewbankkit/terraform,nlamirault/terraform,pdecat/terraform,youhong316/terraform,apparentlymart/terraform,pryorda/terraform,brandontosch/terraform,pradeepbhadani/terraform,tommynsong/terraform,rnaveiras/terraform,hashicorp/terraform,brandontosch/terraform,ewbankkit/terraform,nlamirault/terraform,mattray/terraform,tpounds/terraform,mattray/terraform,mattray/terraform,tpounds/terraform,luis-silva/terraform,brandontosch/terraform,hashicorp/terraform,mattray/terraform,tommynsong/terraform,apparentlymart/terraform,drebes/terraform,youhong316/terraform,gechr/terraform,luis-silva/terraform,pryorda/terraform,heimweh/terraform