diff --git a/command/fix_test.go b/command/fix_test.go index 966367c71..a49d5cd2f 100644 --- a/command/fix_test.go +++ b/command/fix_test.go @@ -1,6 +1,7 @@ package command import ( + "github.com/hashicorp/packer/fix" "path/filepath" "strings" "testing" @@ -61,3 +62,12 @@ func TestFix_invalidTemplateDisableValidation(t *testing.T) { fatalCommand(t, c.Meta) } } + +func TestFix_allFixersEnabled(t *testing.T) { + f := fix.Fixers + o := fix.FixerOrder + + if len(f) != len(o) { + t.Fatalf("Fixers length (%d) does not match FixerOrder length (%d)", len(f), len(o)) + } +} \ No newline at end of file