@@ -118,7 +118,7 @@ func TestLocal_useOfPathAttribute(t *testing.T) {
118118 workspace := backend .DefaultStateName
119119 stmgr , sDiags := b .StateMgr (workspace )
120120 if sDiags .HasErrors () {
121- t .Fatalf ("unexpected error returned from StateMgr: %w " , sDiags .Err ())
121+ t .Fatalf ("unexpected error returned from StateMgr: %s " , sDiags .Err ())
122122 }
123123 defaultStatePath := fmt .Sprintf ("%s/%s" , td , path )
124124 if _ , err := os .Stat (defaultStatePath ); ! strings .Contains (err .Error (), "no such file or directory" ) {
@@ -188,7 +188,7 @@ func TestLocal_pathAttributeWrongExtension(t *testing.T) {
188188 workspace := backend .DefaultStateName
189189 stmgr , sDiags := b .StateMgr (workspace )
190190 if sDiags .HasErrors () {
191- t .Fatalf ("unexpected error returned from StateMgr: %w " , sDiags .Err ())
191+ t .Fatalf ("unexpected error returned from StateMgr: %s " , sDiags .Err ())
192192 }
193193 s := states .NewState ()
194194 s .RootOutputValues = map [string ]* states.OutputValue {
@@ -235,7 +235,7 @@ func TestLocal_useOfWorkspaceDirAttribute(t *testing.T) {
235235 defaultStatePath := fmt .Sprintf ("%s/terraform.tfstate" , td )
236236 stmgr , sDiags := b .StateMgr (workspace )
237237 if sDiags .HasErrors () {
238- t .Fatalf ("unexpected error returned from StateMgr: %w " , sDiags .Err ())
238+ t .Fatalf ("unexpected error returned from StateMgr: %s " , sDiags .Err ())
239239 }
240240 s := states .NewState ()
241241 s .RootOutputValues = map [string ]* states.OutputValue {
0 commit comments