From c4423bba171d32766d98244dc0022f9caad72073 Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Mon, 27 Jun 2016 13:42:44 -0700 Subject: [PATCH] Fix state version error message check. --- terraform/state_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/state_test.go b/terraform/state_test.go index 5a74dbb12..b9e727457 100644 --- a/terraform/state_test.go +++ b/terraform/state_test.go @@ -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) } }