Sha256: 333819ebbb2aa347c28627053f4892536ad90c466760a252faeff2999e3306b7
Contents?: true
Size: 309 Bytes
Versions: 23
Compression:
Stored size: 309 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 require File.expand_path('../test_helper', __FILE__) class ExceptionsTest < Test::Unit::TestCase def test_profile result = begin RubyProf.profile do raise(RuntimeError, 'Test error') end rescue end assert_not_nil(result) end end
Version data entries
23 entries across 21 versions & 2 rubygems