Fix state version error message check.

This commit is contained in:
Trevor Pounds 2016-06-27 13:42:44 -07:00
parent 5932214f0d
commit c4423bba17
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}