From 567a9b9e06dc9fc35fa5f5343f60089bdc924bd7 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Mon, 21 Mar 2016 10:39:20 -0500 Subject: [PATCH] config: remove missing equals test to fix build This is behavior that's covered in the parser now - and the error message is nicer to boot! --- config/config_test.go | 7 ------- .../test-fixtures/validate-output-missing-equals/main.tf | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 config/test-fixtures/validate-output-missing-equals/main.tf diff --git a/config/config_test.go b/config/config_test.go index ce59d426c..b6303fb13 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -242,13 +242,6 @@ func TestConfigValidate_outputBadField(t *testing.T) { } } -func TestConfigValidate_outputMissingEquals(t *testing.T) { - c := testConfig(t, "validate-output-missing-equals") - if err := c.Validate(); err == nil { - t.Fatal("should not be valid") - } -} - func TestConfigValidate_pathVar(t *testing.T) { c := testConfig(t, "validate-path-var") if err := c.Validate(); err != nil { diff --git a/config/test-fixtures/validate-output-missing-equals/main.tf b/config/test-fixtures/validate-output-missing-equals/main.tf deleted file mode 100644 index 8d949a230..000000000 --- a/config/test-fixtures/validate-output-missing-equals/main.tf +++ /dev/null @@ -1,3 +0,0 @@ -output "whoops" { - value "wheresmyequals" -}