Commit Graph

177 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 40daee12cf Merge pull request #567 from beoran/beoran_stack_overflow_fix
Keep stack depth and allocation better under control and fix crash on infinite recursion.
2012-12-05 07:16:08 -08:00
Yukihiro Matz Matsumoto b8e5a57047 rename mrb_load_irep etc. for naming consistency 2012-12-05 02:48:29 +09:00
Yukihiro Matz Matsumoto 30d7c60cfd Array#[]= should return assigning value; close #584 2012-12-03 23:35:21 +09:00
Yukihiro Matz Matsumoto 6583c96640 Ruby's Time#yday should start from 1; close #581 2012-12-03 12:16:37 +09:00
Yukihiro "Matz" Matsumoto 26600ca4ec Merge pull request #573 from skandhas/pr-add-Module-module_eval
add "Module#module_eval" and "Module#class_eval" for mruby
2012-11-30 19:16:48 -08:00
skandhas a100352595 add test for 'Abbreviated variable assignment as returns' 2012-11-30 22:31:35 +08:00
skandhas 053c104f2b add Module#class_eval test 2012-11-27 16:27:32 +08:00
skandhas 861bcad53a add Module#module_eval test 2012-11-27 16:02:45 +08:00
skandhas 5e8dc8cd44 add Module#instance_methods test 2012-11-26 12:06:13 +08:00
skandhas cd8e9c1463 add Module#include? test 2012-11-24 16:21:37 +08:00
skandhas 6c8d2ca399 add assert 'BS Block 35' 2012-11-23 16:25:42 +08:00
skandhas 385f129aca add assert 'BS Block 34' 2012-11-23 16:22:24 +08:00
skandhas a316e92da3 modify the order of BS BLOCK assert. Because 'BS BLOCK 32' is already defined at line:349 2012-11-23 16:20:04 +08: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
Xuejie Xiao a9c8ae49eb Use check_float when testing equality for float values 2012-11-20 23:02:16 -05:00
Xuejie Xiao 358f0cb5d8 Restore accidentally deleted erfc(1) test 2012-11-19 15:19:52 -05:00
Xuejie Xiao f7dd27a928 Fix provided implementation of erf and erfc functions. 2012-11-19 15:13:18 -05:00
Yukihiro Matz Matsumoto ac0233bcd0 add test for issue#547; close #554 2012-11-17 02:02:08 +09:00
Yukihiro "Matz" Matsumoto 7ff70bd75f Merge pull request #549 from skandhas/pr-modify-class-variables-test
modify Module#class_variables test
2012-11-13 01:25:28 -08:00
Tomoyuki Sahara b1f5840aef fix the issue String#slice with Range may return broken String. 2012-11-13 16:50:41 +09:00
skandhas 40aa8e99e1 modify Module#class_variables test 2012-11-13 13:25:40 +08:00
skandhas 38ce9516aa modify Module#class_variables test 2012-11-12 20:18:40 +08:00
skandhas 9dbbd02ac5 add Module#class_variables test 2012-11-09 23:10:28 +08:00
Akira Yumiyama fdefaf9f7d typo fix on test/report.rb 2012-11-05 15:50:46 +09:00
Akira Yumiyama 8d3baf6229 fix mrubytest dependencies 2012-11-05 15:36:12 +09:00
Akira Yumiyama cd2c7c7532 add mruby/mrbc tests. 2012-11-05 13:28:20 +09:00
Yukihiro Matz Matsumoto 3ba521ae9e replace FIXNUM_P() by mrb_fixnum_p() 2012-11-04 04:49:43 +09:00
Yukihiro Matsumoto 308b41c12b add test for 8cf42709 2012-11-02 08:02:21 +09:00
Daniel Bovensiepen b9cf5045b7 Add Test for String#each_byte 2012-11-01 16:40:31 +08:00
Daniel Bovensiepen 8d9f5628ed Add Test for String#bytes 2012-11-01 16:24:52 +08:00
Yukihiro Matsumoto f166f63f45 add test case for 750b7c2 2012-10-20 08:50:51 +09:00
Yukihiro Matsumoto 89a18e4f22 unexpect break/next/redo/retry should raise LocalJumpError 2012-10-20 03:59:13 +09:00
Beoran 8949e3c7fb Bugfix for crash if main was extended with a module. 2012-10-09 21:45:41 +02:00
Akira Kuroda 5c2afd239c add test case for Array#unshift, <=>, and * 2012-09-30 17:59:45 +09:00
Yukihiro "Matz" Matsumoto 4bf51cdd42 Merge pull request #473 from bovi/integer-step-test
Add test case for Integer#step
2012-09-15 10:48:20 -07:00
Daniel Bovensiepen b4647224b7 Add test case for Integer#step 2012-09-15 17:13:56 +09:00
Daniel Bovensiepen e44c3fc8aa Don't check ObjectID of Kernel#to_s. Only class check of instance 2012-09-15 14:14:25 +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
Yukihiro "Matz" Matsumoto 2dbd6faf41 Merge pull request #462 from bovi/test-for-460
Add Test Case for Issue #460
2012-09-10 17:04:53 -07:00
Daniel Bovensiepen cef52c73c3 Add Test Case for Issue #460 2012-09-10 23:33:22 +08:00
Daniel Bovensiepen f6a9846d0e Fix writing errors in Makefiles 2012-09-10 23:25:50 +08:00
Daniel Bovensiepen fffa89014e Add Time Tests 2012-09-09 15:28:27 +08:00
Daniel Bovensiepen e6fb7d988a Add Module Tests 2012-09-09 15:28:14 +08:00
Daniel Bovensiepen 5b96b41b8a Add Kernel Tests 2012-09-09 15:28:01 +08:00
Joseph McCullough 4ef8c5ab28 Add more info on how to run tests 2012-09-06 07:49:14 -05:00
Yukihiro Matsumoto fd3af6aec8 introduce toplevel object main; close #327 2012-09-03 00:41:09 +09:00
Masamitsu MURASE 686b6eb629 Add more test for exception. 2012-08-13 01:57:00 +09:00
Yukihiro Matsumoto 119b9f5bd5 check value from NilClass#inspect 2012-08-12 04:20:53 +09:00
Yukihiro Matsumoto a2a4563eaf check inside of result from Kernel#instance_variable 2012-08-12 04:19:17 +09:00
Beoran 3f670f7f44 Also added test for charsh bug with Struct.new without parameters. 2012-08-09 22:09:47 +02:00