Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
do not search ancestors when checking Test::Unit.const_defined? #73
Fix a false-positive detection of Test::Unit::Notification being defined due to const_defined? searching up the object heirarchy by default, which results in an uninitialized-constant-name-error at runtime if e.g. :Notification is defined elsewhere.
 pry(main)> Test::Unit.const_defined?(:Notification)
(Introduced in this commit: e7a0ff8