Sha256: e19edc810cc0ba43c6902c4385e6d527e441e7953346cd4cc4c2a63a22792f33
Contents?: true
Size: 287 Bytes
Versions: 23
Compression:
Stored size: 287 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
23 entries across 23 versions & 5 rubygems