Sha256: 842fc9e3b74252cb02cf33a4065558ab62e355c1e006acdf6f288f3f9fd75363
Contents?: true
Size: 778 Bytes
Versions: 13
Compression:
Stored size: 778 Bytes
Contents
require_relative 'helper' class TestException < Test::Unit::TestCase include Rucy::Tester def test_raise_ruby_exception() assert_raise(StandardError) {raise_ruby_exception} end def test_raise_in_eval() assert_raise(RuntimeError) {raise_in_eval} end def test_throw_std_exception() assert_raise(Rucy::NativeError) {throw_std_exception} end def test_throw_std_runtime_error() assert_raise(Rucy::NativeError) {throw_std_runtime_error} end def test_throw_custom_exception() assert_raise(Rucy::NativeError) {throw_custom_exception} end def test_throw_std_string() assert_raise(Rucy::NativeError) {throw_std_string} end def test_throw_cstring() assert_raise(Rucy::NativeError) {throw_cstring} end end# TestException
Version data entries
13 entries across 13 versions & 1 rubygems