From 0781febbbcfa2e759fc88c4e5e32a723cc06faad Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 16 Sep 2023 01:27:33 +0900 Subject: [PATCH] Add a project spec to prevent error when running `rake changelog:merge` Follow up https://github.com/rubocop/rubocop/commit/9ddcca40c3e36be6db79713c303f1f8fab374aaa. --- spec/project_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/project_spec.rb b/spec/project_spec.rb index a39d9d4280..4e13ca893a 100644 --- a/spec/project_spec.rb +++ b/spec/project_spec.rb @@ -171,6 +171,10 @@ expect(entries).to all(match(/^\* \S/)) end + it 'has one space between the period and the parentheses enclosing contributor name' do + expect(entries).to all(match(/\. \(\[/)) + end + describe 'link to related issue' do let(:issues) do entries.filter_map do |entry|