File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
fixtures/workspaces/repeatable-escaping Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
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
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments