Skip to content

Commit

Permalink
change uniq to uniq! as the intended operation.
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
vipulnsward committed Jun 6, 2013
1 parent 377d284 commit 67923ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/autotest/rspec2.rb
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
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

0 comments on commit 67923ba

Please sign in to comment.