Yukihiro "Matz" Matsumoto
565e1f6ef2
disable LocalJumpError test since the code causes SyntaxError (not LocalJumpError) on CRuby
2014-02-05 12:58:01 +09:00
Tomoyuki Sahara
7bf63c2876
add Float#nan?
2014-02-03 15:18:52 +09:00
Yukihiro "Matz" Matsumoto
aa08158f67
Array#[]= is now range aware
2014-01-30 10:50:56 +09:00
Yukihiro "Matz" Matsumoto
0006278088
move Array#[] tests from mrbgems to test/t/array.rb
2014-01-30 10:33:47 +09:00
h2so5
25045345c9
clone Class/Module rightly
2014-01-25 07:47:15 +09:00
Yukihiro "Matz" Matsumoto
c7cff199dc
hash value of enumerable should be obtained from its elements; close #1658
2014-01-16 21:33:48 +09:00
Yukihiro "Matz" Matsumoto
ff9b41cc37
Merge pull request #1654 from iij/pr-not-match-operator
...
add operator "!~".
2014-01-09 22:04:01 -08:00
Tomoyuki Sahara
83413218a5
add operator "!~".
2014-01-10 13:41:41 +09:00
Tomoyuki Sahara
3b76aae4f0
fix ISO reference number of String#=~.
2014-01-10 12:01:24 +09:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
Yukihiro "Matz" Matsumoto
8d01c157c6
Merge pull request #1645 from iij/pr-case-expression-test
...
tests for "case" expression.
2014-01-06 08:05:48 -08:00
Tomoyuki Sahara
37475f4577
tests for "case" expression.
2014-01-06 10:10:37 +09:00
Carson McDonald
072d98dd94
Test for raise in ensure
2014-01-05 09:20:31 -05:00
Carson McDonald
8bff2a8f9d
Test case statement with splat
2014-01-04 13:58:09 -05:00
Yukihiro "Matz" Matsumoto
d40a62e2d2
object_id may not return Fixnum (ISO says Integer), since intptr_t may be bigger than Fixnum, so type check for Numeric; ref #1630
2014-01-04 21:12:18 +09:00
Yukihiro "Matz" Matsumoto
e8dd8180ba
return value from #object_id may not be Fixnum; ref #1630
2014-01-01 12:24:20 +09:00
Yukihiro "Matz" Matsumoto
047f318cf9
successful recursion check to be shallower; ref #1630
2014-01-01 12:20:48 +09:00
Carson McDonald
60cd1c341b
Method missing and inspect tests
2013-12-31 14:53:44 -05:00
Carson McDonald
9cd7191622
Test coverage of extending stack and overflow
2013-12-31 14:49:24 -05:00
Carson McDonald
3911a052a6
More object_id test coverage
2013-12-31 14:47:17 -05:00
Yukihiro "Matz" Matsumoto
70d6d04ce9
Merge pull request #1626 from carsonmcdonald/moreclasstests
...
More tests for Class behavior
2013-12-30 21:09:05 -08:00
Akira Kuroda
5ed6040eb1
add some tests for [], delete_at, index, and rindex
2013-12-30 23:34:56 +09:00
Carson McDonald
0b8e342d59
When superclass isn't a class tests
2013-12-27 18:33:25 -05:00
Carson McDonald
9f212b9e81
More singleton tests
2013-12-27 18:32:11 -05:00
Carson McDonald
66747603d5
Add more testing for singletons
2013-12-25 12:16:53 -05:00
Carson McDonald
5ab9979ba4
Change :vattr= to :cattr= in respond_to? test
2013-12-24 12:12:50 -05:00
h2so5
e80c0c90cd
add some tests for case statements
2013-12-20 15:29:23 +09:00
Yukihiro "Matz" Matsumoto
fa4ae7dd4d
modify test case to check #1606
2013-12-09 11:44:02 +09:00
Jun Hiroe
853e26e16a
Fix ISO no in Array#* and Array#+
2013-12-07 12:22:25 +09:00
Carson McDonald
12e2488a4a
Add is_a? test to cover issue 1477
2013-12-04 10:29:40 -05:00
Yukihiro "Matz" Matsumoto
9c6398a444
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
2013-11-29 08:47:28 +09:00
Yukihiro "Matz" Matsumoto
abe6db9454
resolve conflict #1552
2013-10-30 17:28:32 +09:00
h2so5
12e00f9238
implement Class.new with block
2013-10-30 12:52:26 +09:00
Yukihiro "Matz" Matsumoto
c2ad094839
fix wrong actual and expected order
2013-10-30 11:57:52 +09:00
Yukihiro "Matz" Matsumoto
3a6391c485
update test code to ensure return value from class statement
2013-10-25 13:24:50 +09:00
fleuria
ba4a19dbe9
add a regression for #1544
2013-10-25 02:53:27 +08:00
Paolo Bosetti
6d5bd14481
Added test for inline arrays longer than 126 elements.
2013-10-01 14:47:58 +02:00
Yukihiro "Matz" Matsumoto
11b0dda641
Merge pull request #1509 from FUKUZAWA-Tadashi/heredoc-bugfix
...
fix bugs on Heredocument
2013-09-25 18:02:00 -07:00
Yuichi Nishiwaki
6e47c9dfc1
fix a bug introduced in prev commit
2013-09-23 19:59:24 -07:00
Yuichi Nishiwaki
0e4a7b2a03
eliminate use of traditional intern API (mrb_intern()) completely
2013-09-23 19:36:50 -07:00
FUKUZAWA-Tadashi
8d34e00102
fix bugs on Heredocument
...
- heredoc in array literal
- heredoc in args
- heredoc in expression expand
2013-09-22 18:14:40 +09:00
Keita Obo
c4e5a8b167
Fix self value in a block is changed with return value for Fixnum, nil, instance variable.
...
Fix #1504
2013-09-18 00:57:23 +09:00
Keita Obo
0bce3a36d2
Fixed self value in a block is changed with return value
...
fix #1504
2013-09-18 00:20:13 +09: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
Carson McDonald
d55eb947f9
Test for Class#inherited
2013-08-13 22:27:25 -04:00
Carson McDonald
e34bc72b89
Add test for Class.new(*args)
2013-08-13 22:11:14 -04:00
Carson McDonald
3385a33e9e
Add two tests for issue #1467
2013-08-13 11:39:30 -04:00
Jun Hiroe
90f6b1815c
I add ISO test '15.2.12.3' included modules in Arrray
2013-08-13 21:09:55 +09:00