Sha256: b6dc2ea8e576956df4e14cef9b76a9e018737902e24e15903c898a57b5f213ff
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
$:.unshift File.expand_path('../../lib', __FILE__) require 'stackprof' require 'minitest/autorun' if RUBY_ENGINE == 'truffleruby' class StackProfTruffleRubyTest < Minitest::Test def test_error error = assert_raises RuntimeError do StackProf.run(mode: :cpu) do unreacheable end end assert_match(/TruffleRuby/, error.message) assert_match(/--cpusampler/, error.message) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackprof-0.2.26 | test/test_truffleruby.rb |