mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
Fix typo in cloud backend's TestCloud_setConfigurationFields
This was clearly wrong, but it was also harmless -- in the event of a failing test due to missing tags, they would get double-reported as both missing and unexpected. This commit separates out the reporting as intended.
This commit is contained in:
parent
5ac03755e7
commit
acf7314587
@ -814,7 +814,7 @@ func TestCloud_setConfigurationFields(t *testing.T) {
|
||||
|
||||
for _, actual := range b.WorkspaceMapping.Tags {
|
||||
if _, ok := expectedSet[actual]; !ok {
|
||||
unexpected = append(missing, actual)
|
||||
unexpected = append(unexpected, actual)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user