Skip to content

Commit

Permalink
Merge pull request natalie-lang#1174 from herwinw/inspect_set
Browse files Browse the repository at this point in the history
  • Loading branch information
seven1m authored Aug 29, 2023
2 parents 2e427e8 + 4f6a175 commit eb1e592
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/library/set/shared/inspect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@
end

it "correctly handles self-references" do
# NATFIXME: Support this syntax
# (set = Set[]) << set
set = Set[]
set << set
(set = Set[]) << set
set.send(@method).should be_kind_of(String)
set.send(@method).should include("#<Set: {...}>")
end
Expand Down

0 comments on commit eb1e592

Please sign in to comment.