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 f1f0c3d commit e4e0ca1Copy full SHA for e4e0ca1
README.md
@@ -74,10 +74,10 @@ The `Enabled` property accepts multiple formats:
74
# true/false to enable/disable the validation (branch agnostic)
75
Validators/Foo:
76
Enabled: false
77
-# Array of String/Regex matching each branch for which it's enabled
+# Array of String or Regex matching each branch it's enabled on
78
Validators/Bar:
79
Enabled:
80
- - master
+ - main
81
- !ruby/regexp /\Afoo.+bar/
82
```
83
test/integration/new_repo_test.rb
@@ -33,7 +33,7 @@ def shell_commands(gitdir)
33
assert_match(/^#{commit_message}/, results)
34
assert_match(/^1: Error: /, results)
35
refute_match(/Warning:/, results)
36
- refute_match(/^\[master .+\]/, results)
+ refute_match(/^\[main .+\]/, results)
37
end
38
39
@@ -44,7 +44,7 @@ def shell_commands(gitdir)
44
refute_match(/^#{commit_message}/, results)
45
refute_match(/Error:/, results)
46
47
- assert_match(/^\[master .+\] #{commit_message}/, results)
+ assert_match(/^\[main .+\] #{commit_message}/, results)
48
49
50
@@ -55,7 +55,7 @@ def shell_commands(gitdir)
55
56
refute_match(/Error/, results)
57
assert_match(/^1: Warning: /, results)
58
59
60
61
0 commit comments