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