mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: test case for higher S1 serial
This commit is contained in:
parent
0d4c7887c5
commit
f68f285f72
@ -202,6 +202,16 @@ func TestStateIncrementSerialMaybe(t *testing.T) {
|
|||||||
},
|
},
|
||||||
1,
|
1,
|
||||||
},
|
},
|
||||||
|
"S1 serial is higher": {
|
||||||
|
&State{Serial: 5},
|
||||||
|
&State{
|
||||||
|
Serial: 3,
|
||||||
|
Modules: []*ModuleState{
|
||||||
|
&ModuleState{Path: rootModulePath},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
5,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for name, tc := range cases {
|
for name, tc := range cases {
|
||||||
|
Loading…
Reference in New Issue
Block a user