Skip to content

Commit

Permalink
Correct expectation to ensure set identifier (#10482)
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick authored Mar 7, 2021
1 parent a94a823 commit 5878c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/std/set_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe "Set" do

it "returns self" do
set = Set(Int32).new
set.add(1).should eq(set)
set.add(1).should be(set)
end
end

Expand Down Expand Up @@ -129,7 +129,7 @@ describe "Set" do

it "returns self" do
set = Set{1, 4, 8}
set.concat([1, 9, 10]).should eq(Set{1, 4, 8, 9, 10})
set.concat([1, 9, 10]).should be(set)
end
end

Expand Down

0 comments on commit 5878c87

Please sign in to comment.