Commit Graph

573 Commits

Author SHA1 Message Date
ksss 0bd8e48773 Module#initialize set created object
for block argument
2014-05-21 23:09:19 +09:00
yui-knk 756bfa6cd2 Correct comment in exception test. 2014-05-20 23:02:47 +09:00
Yukihiro "Matz" Matsumoto 929328ad3b Merge pull request #2295 from ksss/module-initialize
Implement Module#initialize (15.2.2.4.31)
2014-05-20 16:22:11 +09:00
Yukihiro "Matz" Matsumoto 7195600dbf Merge branch 'master' of github.com:mruby/mruby 2014-05-20 11:27:06 +09:00
Yukihiro "Matz" Matsumoto 4b6de9dea6 update raise in ensure test 2014-05-20 11:25:17 +09:00
Yukihiro "Matz" Matsumoto 3fc8f0435a correct comment; ref #2297 2014-05-20 11:24:15 +09:00
Yukihiro "Matz" Matsumoto b0477f1d3f Merge branch 'add-exception-test' of https://github.com/yui-knk/mruby into yui-knk-add-exception-test 2014-05-20 11:22:49 +09:00
yui-knk f55851cb74 Add 'Raise in rescue' test to exception. 2014-05-20 00:02:03 +09:00
take_cheeze d8d07a2345 Move Kernel.local_variables to core. 2014-05-19 22:05:02 +09:00
ksss ffbf90bdc8 Implement Module#initialize (15.2.2.4.31) 2014-05-19 19:28:42 +09:00
Carson McDonald aa2e03cdf6 Add test for remove_instance_variable 2014-05-18 15:53:11 -04:00
ksss 464bbbddc7 instance method name use "#" instead of "." for assert 2014-05-18 10:54:23 +09:00
take_cheeze 49cf477688 Fix #2259 . 2014-05-16 19:58:36 +09:00
yui-knk b9e9ce9237 Add ISO No. to Integer#divmod test. 2014-05-14 08:48:04 +09:00
yui-knk 681b932d98 Replace from include <>, to include "". 2014-05-13 23:30:58 +09:00
Yukihiro "Matz" Matsumoto c12f64271a fix overflow error like #2244 on MRB_WORD_BOXING 2014-05-13 23:15:44 +09:00
Yukihiro "Matz" Matsumoto 15a2003aeb Merge pull request #2190 from cremno/mrbtest-mrb_int-constants
test fixnum overflow for add, sub and mul
2014-05-13 18:16:52 +09:00
Yukihiro "Matz" Matsumoto 40378f9519 Merge pull request #2243 from yui-knk/fix-iso
Fix ISO No.
2014-05-13 12:49:11 +09:00
yui-knk 935a4ccce7 Fix ISO No. 2014-05-13 09:48:02 +09:00
Yukihiro "Matz" Matsumoto b584eaf64b Merge branch 'master' of github.com:mruby/mruby 2014-05-13 09:14:11 +09:00
Yukihiro "Matz" Matsumoto b4657182da convert &arg using to_proc; fix #2242 2014-05-13 09:13:33 +09:00
Jun Hiroe ab2ce33859 Fix Hash test 2014-05-12 20:47:44 +09:00
Yukihiro "Matz" Matsumoto adea2ca371 Merge pull request #2223 from yui-knk/fix-nameerror
Delete unused NameError#new. And add test.
2014-05-10 13:11:00 +09:00
Yukihiro "Matz" Matsumoto e59c6a1100 Merge pull request #2226 from yui-knk/hash-merge-error
Change to raise TypeError (Hash#merge, #merge!)
2014-05-10 11:14:55 +09:00
yui-knk 658a00ba49 Change to raise TypeError (Hash#merge, #merge!) 2014-05-10 10:18:15 +09:00
ksss 7dbfe19fc6 OP_ENTER fix segmentation fault 2014-05-10 09:43:32 +09:00
yui-knk 1a00a34cc2 Delete unused NameError#new. And add test. 2014-05-10 01:12:52 +09:00
Yukihiro "Matz" Matsumoto e07a3731d1 Merge pull request #2221 from yui-knk/add-exception-test
Add exception test
2014-05-10 00:48:44 +09:00
Yukihiro "Matz" Matsumoto 7f899d7752 Merge pull request #2222 from take-cheeze/remove_proc_meth
Remove use of mruby-proc-ext method in core test.
2014-05-10 00:47:43 +09:00
Yukihiro "Matz" Matsumoto c302b86fa0 Merge pull request #2220 from yui-knk/refactor-test
Refactoring test to use assert_nothing_raised.
2014-05-10 00:46:22 +09:00
yui-knk 8b6bfd1a25 Add assert to Exception#inspect test. 2014-05-10 00:07:20 +09:00
take_cheeze 9a5ef1a127 Remove use of mruby-proc-ext method. 2014-05-10 00:07:03 +09:00
yui-knk faee698746 Refactoring test to use assert_nothing_raised. 2014-05-09 23:40:41 +09:00
take_cheeze d0c0beb880 Move __method__ to mruby-kernel-ext since it's not ISO method. 2014-05-09 22:44:10 +09:00
Yukihiro "Matz" Matsumoto b8e524bb9e Merge pull request #2214 from ksss/proc-clear
OP_ENTER clean block object in register
2014-05-09 12:00:53 +09:00
Yukihiro "Matz" Matsumoto 78f2d283a7 Merge pull request #2215 from yui-knk/fix-typo-test
Add ISO No. to String#inspect test.
2014-05-09 12:00:25 +09:00
yui-knk 6932e9e142 Add ISO No. to String#inspect test. 2014-05-09 08:43:39 +09:00
ksss 06a67df950 OP_ENTER clean block object in register 2014-05-09 08:04:36 +09:00
yui-knk 60d2b51cc0 Add tests for Range#to_s Range#inspect. 2014-05-08 23:50:11 +09:00
yui-knk aac3992195 fix typo 2014-05-08 13:55:30 +09:00
yui-knk eafc4dd0af Make Array#[]= raise IndexError.
If second param is negative, Array#[] raise IndexError.
2014-05-08 00:17:17 +09:00
ksss 0c3226db04 OP_ENTER fix variable assignment 2014-05-06 23:30:02 +09:00
yui-knk ff90bb1c18 Refactoring exception test.
Change to use assert_equal explicitly.
2014-05-05 09:52:29 +09:00
cremno 964ce6e327 test fixnum overflow for add, sub and mul 2014-05-05 00:19:08 +02:00
cremno 7a8a97ccee add Mrbtest::FIXNUM_{MAX,MIN,BIT} 2014-05-05 00:19:02 +02:00
Nobuyoshi Nakada 8b13efc26d count skipped line numbers 2014-05-03 08:42:32 +09:00
Nobuyoshi Nakada cf3b880df6 skip to the next line and reset column after =end 2014-05-03 08:42:31 +09:00
Nobuyoshi Nakada 854ae564a3 fix embedded documents
tabs are allowed after `=begin` and `=end`.
raise `SyntaxError` if no =end is found.
2014-05-03 08:42:31 +09:00
Nobuyoshi Nakada ab67c57f65 remove trailing spaces 2014-04-30 09:50:14 +09:00
Carson McDonald 9ac817ae78 Add tests for multiline comment parsing 2014-04-28 14:22:55 -04:00