Commit Graph

34 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 9434506035 allow underscores in integer literals; close #1960 2014-03-27 12:33:32 +09:00
ksss 4bc19d5fad add embed string test 2014-03-06 14:00:08 +00: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
Akira Kuroda 8d6ce6bace add tests for String#*
add test cases for 0 and -1
2014-03-02 12:19:57 +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
Tomoyuki Sahara 3b76aae4f0 fix ISO reference number of String#=~. 2014-01-10 12:01:24 +09:00
Jun Hiroe d4b2d0a912 I fix ISO No in String class in comparison with ISO_IEC_30170_2012(E)-Charactor_PDF_document.pdf 2013-08-11 21:15:01 +09:00
Jun Hiroe fdb27fd6bd I fix order of actual and expect test value in string.rb. 2013-08-02 23:05:34 +09:00
Carson McDonald 7be117df4c Fix string test for so that it works for int16 2013-07-17 09:42:48 -04:00
Daniel Bovensiepen cbc9c24fe1 Improve String Tests 2013-06-15 02:08:34 +08:00
Masaki Muranaka 433cb13e6d Add tests to make sure. As we do not use standard library for formatting. 2013-04-25 15:35:16 +09:00
Masaki Muranaka da4b3d1c2c Move regression test as String#dump is not in ther core but the mrbgems. 2013-04-25 15:28:25 +09:00
Tomoyuki Sahara b1114489ef a string may have a lot of non-printable chars. 2013-04-25 12:14:18 +09:00
Masaki Muranaka 4bb7243c2b Add comments: some methods is defined in mrbgems. 2013-04-02 11:43:35 +09:00
Akira Yumiyama f82bf1ab2c update String#gsub test 2013-02-20 00:03:40 +09:00
Yukihiro Matz Matsumoto b7da7cfee0 adopt String#gsub to fixed split behavior 2013-02-18 18:47:58 +09:00
Daniel Bovensiepen e8c0b61c0d String#gsub fix with last character 2013-02-17 12:13:46 +00:00
Yuichiro MASUI 0ee2c71b03 Added String#sub/sub! and String#gsub/gsub! 2013-02-12 16:10:35 +09:00
Masamitsu MURASE 72ae2150c7 Modify String#bytes.
It should return non-negative integer.
2012-12-19 23:54:00 +09:00
Tomoyuki Sahara b1f5840aef fix the issue String#slice with Range may return broken String. 2012-11-13 16:50:41 +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
Daniel Bovensiepen cef52c73c3 Add Test Case for Issue #460 2012-09-10 23:33:22 +08:00
Yukihiro Matsumoto 30a062c165 String#split("") should split per character (byte for now) 2012-06-12 12:58:49 +09:00
Yukihiro Matsumoto 5937c29281 s.split(nil) should work like s.split() 2012-06-12 12:29:20 +09:00
Yukihiro Matsumoto 6987ba02f8 String#split now understands string sep 2012-06-12 09:51:10 +09:00
Masamitsu MURASE 46c9260305 Add test for slice of shared string. 2012-06-11 01:39:45 +09:00
Daniel Bovensiepen 0c2d74020a Add more superclass tests 2012-06-03 23:31:53 +08:00
Daniel Bovensiepen 6ec149c4e3 Add string test for string interpolation 2012-06-02 16:44:16 +08:00
Yukihiro Matsumoto 0009239f29 reimplement String#chomp 2012-05-31 16:29:47 +09:00
Daniel Bovensiepen 31e9705022 Add Test cases for Literals, Enumeration, Exceptions and clean line endings 2012-05-29 01:20:46 +08:00
Yukihiro Matsumoto 52b2d092d3 test t/*.rb spacing fix 2012-05-23 12:00:49 +09:00
Daniel Bovensiepen d45ecc3270 Complete ISO test cases for Hash, Range, String and Symbol 2012-05-19 23:18:42 +08:00