From 4f6a1758d602634bd526915423934fd52b3a6e98 Mon Sep 17 00:00:00 2001 From: Herwin Date: Mon, 28 Aug 2023 15:53:43 +0200 Subject: [PATCH] Update spec for Set#inspect The parser error of the original code has been resolved, so we remove this local workaround. --- spec/library/set/shared/inspect.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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