We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa7d283 commit d150611Copy full SHA for d150611
cli/app_test.go
@@ -0,0 +1,19 @@
1
+package main
2
+
3
+import (
4
+ "testing"
5
+)
6
7
+func TestLoadTerraformRules(t *testing.T) {
8
+ _, err := loadBuiltInRuleSet("assets/terraform.yml")
9
+ if err != nil {
10
+ t.Errorf("Cannot load built-in Terraform rules")
11
+ }
12
+}
13
14
+func TestLoadValidateRules(t *testing.T) {
15
+ _, err := loadBuiltInRuleSet("assets/lint-rules.yml")
16
17
+ t.Errorf("Cannot load built-in rules for -validate option")
18
19
0 commit comments