test/test_truffleruby.rb in stackprof-0.2.25 vs test/test_truffleruby.rb in stackprof-0.2.26
- old
+ new
@@ -1,10 +1,10 @@
$:.unshift File.expand_path('../../lib', __FILE__)
require 'stackprof'
require 'minitest/autorun'
if RUBY_ENGINE == 'truffleruby'
- class StackProfTruffleRubyTest < MiniTest::Test
+ class StackProfTruffleRubyTest < Minitest::Test
def test_error
error = assert_raises RuntimeError do
StackProf.run(mode: :cpu) do
unreacheable
end