diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-09-12 13:56:35 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-09-12 13:56:35 -0700 |
| commit | 75002290b0807dc638ed0aaca0104c0a24c91c0a (patch) | |
| tree | 13e6ac1459433e33a5ec2da5d13cd19cfc34f0a6 /test | |
| parent | 3a49dfd198da706ffc5ccfc68125d8e332c1b354 (diff) | |
| parent | 7a7f267b88904743278dc265fbecd46964ff1570 (diff) | |
| download | mruby-75002290b0807dc638ed0aaca0104c0a24c91c0a.tar.gz mruby-75002290b0807dc638ed0aaca0104c0a24c91c0a.zip | |
Merge pull request #468 from iij/pr-exception-without-mesg
check if an Exception instance has a "mesg" attribute
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/exception.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/t/exception.rb b/test/t/exception.rb index 2ea319caa..76c165e95 100644 --- a/test/t/exception.rb +++ b/test/t/exception.rb @@ -269,3 +269,6 @@ assert('Exception 14') do a == :ok end +assert('Exception#inspect without message') do + Exception.new.inspect +end |
