Commit Graph

20 Commits

Author SHA1 Message Date
Carson McDonald 072d98dd94 Test for raise in ensure 2014-01-05 09:20:31 -05:00
Yukihiro "Matz" Matsumoto 2fe64f24f8 remove Exception#verbose_backtrace; #1495 2013-09-03 15:52:35 +09:00
take_cheeze d12b6ab218 add verbose_backtrace 2013-09-02 00:48:06 +09:00
take_cheeze 596cd3f6e7 add Exception#backtrace test 2013-09-02 00:48:05 +09:00
Jun Hiroe 363d65ccef I fix order of actual and expect test value in exception.rb. 2013-08-02 20:54:11 +09:00
Daniel Bovensiepen 2657fc4b8a Improve Exception tests 2013-06-09 05:25:52 +08:00
Tomoyuki Sahara 7626508f62 catching NameError here is not desirable. 2013-04-17 13:25:36 +09:00
Tomoyuki Sahara 0f8969041a rollback stack before executing ensure clause. 2013-04-17 13:08:54 +09:00
Yukihiro "Matz" Matsumoto 5306e4716e although I understand the intntion of 039679f1, consuming all memory in the test program is not a good idea 2013-04-09 13:39:25 +09:00
Masamitsu MURASE f413e6881c Increase TEST_INFINITE_RECURSION_MAX value from 100000 to 1000000 because modification of handling of NODE_RETURN reduces stack size. 2013-02-27 03:45:11 +09:00
Masamitsu MURASE efa18038de Add more tests for begin and rescue. 2013-02-25 00:25:03 +09:00
Beoran 039679f1af Keep stack depth and allocation better under control and fix crash on infinite recursion. 2012-11-22 11:02:17 +01:00
Yukihiro Matsumoto f166f63f45 add test case for 750b7c2 2012-10-20 08:50:51 +09:00
Tomoyuki Sahara 7a7f267b88 check if an Exception instance has a "mesg" attribute
fix the issue that "Exception.new.inspect" causes SIGSEGV.
2012-09-12 20:08:56 +09:00
Masamitsu MURASE 686b6eb629 Add more test for exception. 2012-08-13 01:57:00 +09:00
Yukihiro Matsumoto 39f47c1915 remove LoadError 2012-06-15 13:55:27 +09:00
Masaki Muranaka cfd5f5157d Move Subclasses of ScriptError to mrblib. 2012-06-15 13:06:43 +09:00
Daniel Bovensiepen c78dc2930c Add superclass tests for Exceptions 2012-06-03 23:31:17 +08:00
Kazuki Tsujimoto 0629cf21ba A rescue clause with no parameter list rescues only StandardErrors 2012-06-03 17:48:02 +09:00
Daniel Bovensiepen 150b235fb6 Add Tests for all Exception classes, for false, true, Proc, Module, nil and Object 2012-05-25 14:01:14 +08:00