mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix state version error message check.
This commit is contained in:
parent
5932214f0d
commit
c4423bba17
@ -1348,7 +1348,7 @@ func TestReadStateNewVersion(t *testing.T) {
|
||||
if s != nil {
|
||||
t.Fatalf("unexpected: %#v", s)
|
||||
}
|
||||
if !strings.Contains(err.Error(), "not supported") {
|
||||
if !strings.Contains(err.Error(), "does not support state version") {
|
||||
t.Fatalf("err: %v", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user