Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit dcbb853

Browse files
committed
Add fish to the list of shells that allow unquoted ids.
…according to @JoshCheek’s comment: #1884 (comment)
1 parent 16bb9a7 commit dcbb853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/core/notifications.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def duplicate_rerun_locations
542542
# allow `rspec ./some_spec.rb[1:1]` syntax without quoting the id.
543543
#
544544
# @private
545-
SHELLS_ALLOWING_UNQUOTED_IDS = %w[ bash ksh ]
545+
SHELLS_ALLOWING_UNQUOTED_IDS = %w[ bash ksh fish ]
546546

547547
def conditionally_quote(id)
548548
return id if shell_allows_unquoted_ids?

0 commit comments

Comments
 (0)