ruby / spec

The Ruby Spec Suite aka ruby/spec
MIT License
588 stars 384 forks source link

Add specs for prepend modifying ancestor chain #1136

Closed dushyantss closed 5 months ago

dushyantss commented 5 months ago

This PR adds specs for Bug #17423

From:

Module#prepend now modifies the ancestor chain if the receiver already includes the argument. Module#prepend still does not modify the ancestor chain if the receiver has already prepended the argument. [Bug #17423]