Skip to content

Commit eeb3873

Browse files
committed
fix rubocop layout offenses
1 parent 63b77d1 commit eeb3873

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

spec/completely/pattern_spec.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
end
4646

4747
context 'when the pattern includes a * right after the first word' do
48-
let(:text) { 'git*--checkout'}
48+
let(:text) { 'git*--checkout' }
4949

5050
it 'returns the first word of the pattern' do
5151
expect(subject.prefix).to eq 'git'
5252
end
5353
end
5454

5555
context 'when the pattern includes a * anywhere else' do
56-
let(:text) { 'git --checkout*something'}
56+
let(:text) { 'git --checkout*something' }
5757

5858
it 'returns the first word of the pattern' do
5959
expect(subject.prefix).to eq 'git'
@@ -89,21 +89,20 @@
8989
end
9090

9191
context 'when the pattern includes a * right after the first word' do
92-
let(:text) { 'git*--checkout'}
92+
let(:text) { 'git*--checkout' }
9393

9494
it 'returns all but the first word' do
9595
expect(subject.text_without_prefix).to eq '*--checkout'
9696
end
9797
end
9898

9999
context 'when the pattern includes a * anywhere else' do
100-
let(:text) { 'git --checkout*something'}
100+
let(:text) { 'git --checkout*something' }
101101

102102
it 'returns all but the first word' do
103103
expect(subject.text_without_prefix).to eq '--checkout*something'
104104
end
105105
end
106-
107106
end
108107

109108
describe '#compgen' do

0 commit comments

Comments
 (0)