lib/git/lint/validators/name.rb in git-lint-1.4.0 vs lib/git/lint/validators/name.rb in git-lint-2.0.0
- old
+ new
@@ -2,10 +2,10 @@
module Git
module Lint
module Validators
class Name
- DEFAULT_DELIMITER = /\s{1}/.freeze
+ DEFAULT_DELIMITER = /\s{1}/
DEFAULT_MINIMUM = 2
def initialize text, delimiter: DEFAULT_DELIMITER, minimum: DEFAULT_MINIMUM
@text = text
@delimiter = delimiter