Skip to content

Commit 88b4198

Browse files
committed
lint
1 parent d5d5a15 commit 88b4198

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/bashly/script/command_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@
343343
describe '#has_unique_args_or_flags?' do
344344
context 'when the command has any args that are unique' do
345345
let(:fixture) { :unique_args }
346-
346+
347347
it 'returns true' do
348348
expect(subject.has_unique_args_or_flags?).to be true
349349
end
@@ -359,7 +359,7 @@
359359

360360
context 'when the command has any subcommands with unique args' do
361361
let(:fixture) { :unique_args_deep }
362-
362+
363363
it 'returns true' do
364364
expect(subject.has_unique_args_or_flags?).to be true
365365
end
@@ -373,7 +373,7 @@
373373
end
374374
end
375375

376-
context 'otherwise' do
376+
context 'when the command does not have any uniques' do
377377
it 'returns false' do
378378
expect(subject.has_unique_args_or_flags?).to be false
379379
end

spec/fixtures/workspaces/repeatable-escaping/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ bundle exec bashly generate
1414
./cli -s before -s 'x "x x"' -s 'x "x x"' -s after
1515
./cli -s before -s 'x"x' -s 'x"x' -s after
1616

17-
# in a repeatable+unique situation, the furst arg is treated slightly
17+
# in a repeatable+unique situation, the first arg is treated slightly
1818
# differently, so test this case as well
1919
./cli once x once
2020
./cli -s once -s x -s once

0 commit comments

Comments
 (0)