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
mirichi
d97ab343bd
add post mandatory argument test
2014-04-28 09:37:45 +09:00
cremno
9dd28c96bb
tests should not depend on mruby-proc-ext
2014-04-21 08:09:52 +02:00
Nobuyoshi Nakada
ac6747a9c5
fix optional block arguments in rhs
...
define optional block arguments as argument variables in the rhs
default expressions, as same as mere assignment expressions.
Import ruby/ruby@01740f0c27
2014-04-21 14:55:06 +09:00
Nobuyoshi Nakada
367118b1b6
fix optional arguments in rhs
...
define optional arguments as argument variables in the rhs default
expressions, as same as mere assignment expressions.
Import ruby/ruby@01740f0c27
2014-04-21 10:48:00 +09:00
Nobuyoshi Nakada
9eaddfab44
allow method definition in cmdarg
...
save cmdarg_stack and isolate command argument state from outer scope
to allow method definition in cmdarg
import from ruby/ruby@04bb9d6b75
2014-04-21 07:00:57 +09:00
Nobuyoshi Nakada
b16697982e
Allow parenthesed do-block in cmdarg
...
Flush cmdarg flags inside left-paren in a command argument, to allow
parenthesed `do-block` as an argument without arguments parentheses.
`CMDARG_PUSH(0)` for tLPAREN_ARG is before `CMDARG_PUSH(1)` in
`command_args` due to look-ahead.
2014-04-19 18:46:07 +09:00
Yukihiro "Matz" Matsumoto
9002fb7946
Merge pull request #2018 from akuroda/pr_false_test
...
add tests for FalseClass
2014-04-06 20:15:15 +09:00
Tomoyuki Sahara
8df73d250b
remove tests for unicode chars in regular expression literals.
...
mruby does not parse escape characters in a regular expression
literal (ref #2007 ). It is parsed by the external mrbgem that
provides Regexp class, if any. These tests should not be in
mruby core but in the mrbgem.
2014-04-06 17:13:29 +09:00
Akira Kuroda
0eee513a47
add tests for FalseClass
...
reorder and add tests for 15.2.6.1
2014-04-06 11:48:38 +09:00
kyab
0ad9b900a5
Fix 'make test' fail to build on Windows(MSVC)
2014-04-05 19:28:48 +09:00
Yukihiro "Matz" Matsumoto
59cd24d41f
Hash#replace should copy default as well; close #2004
2014-04-04 12:14:23 +09:00
Yukihiro "Matz" Matsumoto
8cfd5f17da
merge test code from #2003
2014-04-04 11:06:11 +09:00