Yukihiro "Matz" Matsumoto
ac8d04fb6c
Merge pull request #1820 from ksss/string-embed
...
Embed small string
2014-03-07 18:51:32 +09:00
ksss
cab1f734ef
Fix behavior Hash#eql?
2014-03-07 11:08:24 +09:00
ksss
4bc19d5fad
add embed string test
2014-03-06 14:00:08 +00:00
ksss
54132e4364
make embed string when create literals
2014-03-06 13:47:51 +00:00
ksss
4070b5987a
embed small string
...
use flags 4 for *this object is embed*
use flags 8~64 for *embed string length*
2014-03-06 13:12:08 +00:00
cremno
3900fcecd7
__FILE__ test: add support for \ as separator
2014-03-05 17:38:02 +01:00
cubicdaiya
ebe4711df8
fix off-by-one error in String#rindex(fixnum)
...
null-terminated string should not be included in search targets.
2014-03-04 21:58:47 +09:00
Tomoyuki Sahara
6e1f4695aa
add tests for Integer#divmod.
2014-03-04 10:51:56 +09:00
Tomoyuki Sahara
9686890ab3
Fix Float#divmod.
2014-03-04 10:51:36 +09:00
take_cheeze
cfa7889996
run enabled gem's bintest only
2014-03-03 16:53:26 +09:00
Akira Kuroda
8d6ce6bace
add tests for String#*
...
add test cases for 0 and -1
2014-03-02 12:19:57 +09:00
Yukihiro "Matz" Matsumoto
f5ec2115b5
swap actual and expected; ref #1764
2014-02-28 10:01:39 +09:00
ksss
a14a672915
fix test for Array#[]
2014-02-28 08:50:26 +09:00
Jun Hiroe
caa139f91a
Refactor tests in kernel.rb
2014-02-27 23:49:58 +09:00
Yukihiro "Matz" Matsumoto
56ebac0db2
Merge pull request #1751 from cubicdaiya/issues/test_for_instance_variable_defined_question
...
Add test for Kernel#instance_variable_defined?
2014-02-27 14:15:27 +09:00
Yukihiro "Matz" Matsumoto
630a152093
Merge pull request #1753 from take-cheeze/assert_rb
...
Compile assert.rb once.
2014-02-27 02:04:45 +09:00
cubicdaiya
677cd22be1
add test for Kernel#instance_variable_defined?
2014-02-26 22:44:22 +09:00
take_cheeze
7201404ee0
compile assert.rb once
2014-02-26 22:01:31 +09:00
take_cheeze
d31f824b5a
add test for __LINE__ and __FILE__
2014-02-26 21:11:33 +09:00
Akira Kuroda
61523d0e4f
fix the position of capitalize! and downcast!, and add test for upcase!
2014-02-22 00:43:12 +09:00
Akira Kuroda
f6516526b5
add tests for String#capitalize! and String#downcase!
2014-02-22 00:19:29 +09:00
Li Yazhou
7ab0506795
add test for Hash#dup
2014-02-14 13:26:19 +08:00
Yukihiro "Matz" Matsumoto
d7960bf2a9
resolve conflict in travis_config.rb
2014-02-10 09:50:32 +09:00
Pavel
411168deab
Fix Kernel#global_variables for $1-$9
2014-02-09 23:54:49 +07:00
Daniel Bovensiepen
5056a29d93
Remove notice of early version
2014-02-08 03:06:05 +08:00
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