Commit Graph

145 Commits

Author SHA1 Message Date
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
Beoran 38e3b675ee Struct.new crashed if no arguments are given. Fixed. 2012-08-09 21:58:32 +02:00
Yukihiro Matsumoto 883b97ab05 some test requires double precision 2012-08-01 01:23:34 +09:00
Yukihiro Matsumoto 34cf05679c add Math::TOLERANCE 2012-08-01 01:12:09 +09:00
Yukihiro Matsumoto 0270d11c81 float do not have enough precision to round if MRB_USE_FLOAT is set 2012-08-01 00:45:12 +09:00
Masamitsu MURASE d5bcaafd91 Modify return value of mrbtest.
This is an improvement for CI, such as Travis.
2012-07-29 18:45:47 +09:00
Masamitsu MURASE b71063b239 Modify test for Class.
* Rename some classes in test/t/class.rb to avoid name conflict.
* Add tests for mismatch fo superclass.
2012-07-29 14:21:12 +09:00
Akira Kuroda a2aa7e7f52 fix segmentation fault in Array#first 2012-07-29 00:21:40 +09:00
Yukihiro Matsumoto 344946233c do not use TrueClass/FalseClass.new 2012-07-26 23:00:34 +09:00
Yukihiro "Matz" Matsumoto a621f08ecf Merge pull request #395 from monaka/pr-add-more-test-for-array
Add tests for coverage.
2012-07-26 04:33:44 -07:00
Masaki Muranaka 1cda5e0768 Add tests for coverage. 2012-07-25 16:13:44 +09:00
Yukihiro "Matz" Matsumoto ec309c6fd7 Merge pull request #393 from akuroda/array_last_fix
fix segmentation fault in Array#last
2012-07-24 16:55:12 -07:00
Akira Kuroda f114e3e252 fix segmentation fault in Array#last 2012-07-25 00:05:51 +09:00
Akira Kuroda 9dd3ac36d1 add test cases for floor, inifinite?, truncate, ceil, and round 2012-07-22 21:53:58 +09:00
Yukihiro "Matz" Matsumoto 8eca0d5609 Merge pull request #378 from masamitsu-murase/modify_proc_lambda
Modify proc_lambda
2012-07-17 16:25:36 -07:00
Masamitsu MURASE e6f1e7b899 Add tests for Kernel#lambda and Kernel.lambda. 2012-07-18 02:25:34 +09:00
Masamitsu MURASE 6f2aefae1f Add test for 'respond_to?'. 2012-07-18 02:23:16 +09:00
Yukihiro Matsumoto 094fdc4367 resolve conflict 2012-07-17 02:05:39 +09:00
Yukihiro Matsumoto 6696876e72 refactoring on module tests 2012-07-17 02:01:52 +09:00
Yukihiro Matsumoto 526dd09b7a add Module#ancestors 15.2.2.4.9 2012-07-17 01:33:40 +09:00
Masamitsu MURASE 8020c280aa Add test for Kernel#extend. 2012-07-17 00:56:18 +09:00
Daniel Bovensiepen e8b5309080 Add a Test Case for #359 Array Corruption 2012-07-10 15:11:31 +08:00
Daniel Bovensiepen 0c10becf91 Add tests for Modules #append_features, #include, #included and #included_modules 2012-07-08 04:44:55 +08:00
Yukihiro Matsumoto 0d99856b57 proper type check when creating a range; #345 2012-07-08 00:20:56 +09:00
Yukihiro Matsumoto becb7e9877 .. is weaker than == 2012-07-08 00:19:40 +09:00
Yukihiro Matsumoto cd1e1a0089 remove unused variables 2012-07-03 21:33:20 +09:00
Yukihiro Matsumoto e814495576 test/driver to use EXIT_SUCCESS 2012-07-03 21:04:25 +09:00
Yukihiro Matsumoto 65096c4c1b add context to parser, that would hold local variable info, filename, and line number. mrbc_context argument has been added to mrb_parse_xxx() functions. Normally, you just to need to add NULL (or 0) to the last argument of the above functions. 2012-07-03 20:59:07 +09:00
Daniel Bovensiepen e8ad94da93 Fix kernel test descriptions 2012-06-27 03:12:37 +08:00
Daniel Bovensiepen d3bf659bfd Add more kernel tests 2012-06-27 03:06:07 +08:00
Yukihiro Matsumoto ccde2d3be0 update ISO chapter number in test/t/kernel.rb 2012-06-24 22:30:56 +09:00
Yukihiro "Matz" Matsumoto 431d1c8e2b Merge pull request #316 from masamitsu-murase/modify_obj_clone
Modify Kernel#clone and Kernel#dup
2012-06-24 06:26:49 -07:00
Masamitsu MURASE 062e96960d Add sample test for Kernel#clone and Kernel#dup. 2012-06-24 16:55:43 +09:00