mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
command: go fmt in import_test.go and refresh_test.go
This commit is contained in:
parent
1a654e9e1c
commit
40eda180d6
@ -343,7 +343,7 @@ func TestRefresh_outPath(t *testing.T) {
|
||||
t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected))
|
||||
}
|
||||
|
||||
backupState := testStateRead(t, outPath + DefaultBackupExtension)
|
||||
backupState := testStateRead(t, outPath+DefaultBackupExtension)
|
||||
actualStr := strings.TrimSpace(backupState.String())
|
||||
expectedStr := strings.TrimSpace(state.String())
|
||||
if actualStr != expectedStr {
|
||||
@ -566,7 +566,7 @@ func TestRefresh_backup(t *testing.T) {
|
||||
t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected))
|
||||
}
|
||||
|
||||
backupState := testStateRead(t, outPath + DefaultBackupExtension)
|
||||
backupState := testStateRead(t, outPath+DefaultBackupExtension)
|
||||
actualStr := strings.TrimSpace(backupState.String())
|
||||
expectedStr := strings.TrimSpace(state.String())
|
||||
if actualStr != expectedStr {
|
||||
|
Loading…
Reference in New Issue
Block a user