Sha256: 234ef8187baeba091020af2f7e56b89ff974efdf6a148f8455f0b8585fd89a0a
Contents?: true
Size: 444 Bytes
Versions: 5
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
5 entries across 5 versions & 1 rubygems