# Uncomment to use v2.3.1 shipped as gem - the bug still occurs# require 'rubygems'# gem 'minitest'require'minitest/unit'require'minitest/autorun'classMyTest < MiniTest::Unit::TestCasedeftest_vipasserttrueendendMiniTest::Unit.after_tests(){puts"after?"}
The output on ruby 1.9.2 when running the version from rubygems (because the version shipped with ruby does not have MiniTest::Unit.after_tests method implemented) is:
The output on ruby
1.9.2
when running the version from rubygems (because the version shipped with ruby does not haveMiniTest::Unit.after_tests
method implemented) is:The output form
1.9.3
(gem version or shipped with ruby - does not matter) is :My guess would be that something about
at_exit
behavior changed in1.9.3
.The text was updated successfully, but these errors were encountered: