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

change uniq to uniq! as the intended operation. #934

Merged
merged 1 commit into from
Jun 7, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/autotest/rspec2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def initialize
self.completed_re = /\n(?:\e\[\d*m)?\d* examples?/m
end

# Adds conventional spec-to-file mappings to Autotest configuation.
# Adds conventional spec-to-file mappings to Autotest configuration.
def setup_rspec_project_mappings
add_mapping(%r%^spec/.*_spec\.rb$%) { |filename, _|
filename
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/core/world.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def initialize(configuration=RSpec.configuration)
hash[group] = begin
examples = group.examples.dup
examples = filter_manager.prune(examples)
examples.uniq
examples.uniq!
examples.extend(Extensions::Ordered::Examples)
end
}
Expand Down