Skip to content

Commit 04cb7f3

Browse files
committed
Delete repeated example, thanks to RSpec/RepeatedExampleGroupBody
1 parent 3d5ad89 commit 04cb7f3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

spec/rubocop/ast/pair_node_spec.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@
3737
end
3838
end
3939

40-
describe '#colon?' do
41-
context 'when using a hash rocket delimiter' do
42-
let(:source) { '{ a => 1 }' }
43-
44-
it { expect(pair_node.colon?).to be_falsey }
45-
end
46-
47-
context 'when using a colon delimiter' do
48-
let(:source) { '{ a: 1 }' }
49-
50-
it { expect(pair_node.colon?).to be_truthy }
51-
end
52-
end
53-
5440
describe '#delimiter' do
5541
context 'when using a hash rocket delimiter' do
5642
let(:source) { '{ a => 1 }' }

0 commit comments

Comments
 (0)