diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-07 16:35:33 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-02-07 16:35:33 +0000 |
commit | 75334db3c6479ea3cd7462d36ca5464d386f9c72 (patch) | |
tree | c97df2c7aa02f3d0e65524890924f1b294871073 /spec/ruby/library/set | |
parent | 5c7c6763f6cf7b4face107735071c5470e835476 (diff) | |
download | ruby-75334db3c6479ea3cd7462d36ca5464d386f9c72.tar.gz |
Update to ruby/spec@6cf8ebe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/set')
-rw-r--r-- | spec/ruby/library/set/enumerable/to_set_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/set/exclusion_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/set/sortedset/exclusion_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/library/set/enumerable/to_set_spec.rb b/spec/ruby/library/set/enumerable/to_set_spec.rb index 6d81710a2f..0f5504fef2 100644 --- a/spec/ruby/library/set/enumerable/to_set_spec.rb +++ b/spec/ruby/library/set/enumerable/to_set_spec.rb @@ -1,7 +1,7 @@ require_relative '../../../spec_helper' require 'set' -describe "Emumerable#to_set" do +describe "Enumerable#to_set" do it "returns a new Set created from self" do [1, 2, 3].to_set.should == Set[1, 2, 3] {a: 1, b: 2}.to_set.should == Set[[:b, 2], [:a, 1]] diff --git a/spec/ruby/library/set/exclusion_spec.rb b/spec/ruby/library/set/exclusion_spec.rb index 407aa70032..c9fa0e287e 100644 --- a/spec/ruby/library/set/exclusion_spec.rb +++ b/spec/ruby/library/set/exclusion_spec.rb @@ -6,7 +6,7 @@ describe "Set#^" do @set = Set[1, 2, 3, 4] end - it "returns a new Set containing elements that are not in both self and the passed Enumberable" do + it "returns a new Set containing elements that are not in both self and the passed Enumerable" do (@set ^ Set[3, 4, 5]).should == Set[1, 2, 5] (@set ^ [3, 4, 5]).should == Set[1, 2, 5] end diff --git a/spec/ruby/library/set/sortedset/exclusion_spec.rb b/spec/ruby/library/set/sortedset/exclusion_spec.rb index 59f7615e83..59f9f1dfd8 100644 --- a/spec/ruby/library/set/sortedset/exclusion_spec.rb +++ b/spec/ruby/library/set/sortedset/exclusion_spec.rb @@ -6,7 +6,7 @@ describe "SortedSet#^" do @set = SortedSet[1, 2, 3, 4] end - it "returns a new SortedSet containing elements that are not in both self and the passed Enumberable" do + it "returns a new SortedSet containing elements that are not in both self and the passed Enumerable" do (@set ^ SortedSet[3, 4, 5]).should == SortedSet[1, 2, 5] (@set ^ [3, 4, 5]).should == SortedSet[1, 2, 5] end |