diff --git a/spec/library/set/shared/inspect.rb b/spec/library/set/shared/inspect.rb index 1c4d977c2..1999b7b55 100644 --- a/spec/library/set/shared/inspect.rb +++ b/spec/library/set/shared/inspect.rb @@ -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("#") end