Skip to content

Commit 79f1b90

Browse files
committed
fix rubocop checks
1 parent 8722a30 commit 79f1b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/generator/generator_tags_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ def tags_mash_from_strings(tags_strings)
105105
subject { generator.filter_excluded_tags(tags_mash_from_strings(%w(1 2 3))) }
106106

107107
context "with matching regex" do
108-
let(:generator) { GitHubChangelogGenerator::Generator.new(exclude_tags_regex: '[23]') }
108+
let(:generator) { GitHubChangelogGenerator::Generator.new(exclude_tags_regex: "[23]") }
109109
it { is_expected.to be_a Array }
110110
it { is_expected.to match_array(tags_mash_from_strings(%w(1))) }
111111
end
112112

113113
context "with non-matching regex" do
114-
let(:generator) { GitHubChangelogGenerator::Generator.new(exclude_tags_regex: '[45]') }
114+
let(:generator) { GitHubChangelogGenerator::Generator.new(exclude_tags_regex: "[45]") }
115115
it { is_expected.to be_a Array }
116116
it { is_expected.to match_array(tags_mash_from_strings(%w(1 2 3))) }
117117
end

0 commit comments

Comments
 (0)