Sha256: 9ffda2db0b9651c1aec61ff2006bc2075300b9509ca72155ef51c4df6a730055
Contents?: true
Size: 282 Bytes
Versions: 10
Compression:
Stored size: 282 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' require 'ruby-prof' class ExceptionsTest < Test::Unit::TestCase def test_profile result = begin RubyProf.profile do raise(RuntimeError, 'Test error') end rescue => e end assert_not_nil(result) end end
Version data entries
10 entries across 10 versions & 2 rubygems