@@ -34,7 +34,7 @@ func TestExcludeRule_Validate(t *testing.T) {
34
34
{
35
35
desc : "empty rule" ,
36
36
rule : & ExcludeRule {},
37
- expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
37
+ expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
38
38
},
39
39
{
40
40
desc : "only path rule" ,
@@ -43,7 +43,7 @@ func TestExcludeRule_Validate(t *testing.T) {
43
43
Path : "test" ,
44
44
},
45
45
},
46
- expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
46
+ expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
47
47
},
48
48
{
49
49
desc : "only path-except rule" ,
@@ -52,7 +52,7 @@ func TestExcludeRule_Validate(t *testing.T) {
52
52
PathExcept : "test" ,
53
53
},
54
54
},
55
- expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
55
+ expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
56
56
},
57
57
{
58
58
desc : "only text rule" ,
@@ -61,7 +61,7 @@ func TestExcludeRule_Validate(t *testing.T) {
61
61
Text : "test" ,
62
62
},
63
63
},
64
- expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
64
+ expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
65
65
},
66
66
{
67
67
desc : "only source rule" ,
@@ -70,7 +70,7 @@ func TestExcludeRule_Validate(t *testing.T) {
70
70
Source : "test" ,
71
71
},
72
72
},
73
- expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
73
+ expected : "at least 2 of (text, source, path[-except], linters) should be set" ,
74
74
},
75
75
{
76
76
desc : "invalid path rule" ,
0 commit comments