summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Noria <[email protected]>2025-04-20 23:43:02 +0200
committerJean Boussier <[email protected]>2025-04-23 07:07:18 +0200
commit5f3fb35a14665374f353d3889ded3e8a0061895a ()
treed244d31ae23d1fc867aa6ed513a424cce980ae67
parent80cf292c79ff0cd91353ab5e7e1112a6f800413d (diff)
Add a new spec for inherited
Notes: Merged: https://.com/ruby/ruby/pull/13141
-rw-r--r--spec/ruby/core/class/inherited_spec.rb17
1 files changed, 17 insertions, 0 deletions
@@ -98,4 +98,21 @@ describe "Class.inherited" do
-> { Class.new(top) }.should_not raise_error
end
end