summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2014-04-21tests should not depend on `mruby-proc-ext`cremno
2014-04-21fix optional block arguments in rhsNobuyoshi Nakada
define optional block arguments as argument variables in the rhs default expressions, as same as mere assignment expressions. Import ruby/ruby@01740f0c273c89f7bcff3d5014d73c8ff6fb1986
2014-04-21fix optional arguments in rhsNobuyoshi Nakada
define optional arguments as argument variables in the rhs default expressions, as same as mere assignment expressions. Import ruby/ruby@01740f0c273c89f7bcff3d5014d73c8ff6fb1986
2014-04-21allow method definition in cmdargNobuyoshi Nakada
save cmdarg_stack and isolate command argument state from outer scope to allow method definition in cmdarg import from ruby/ruby@04bb9d6b75a55d4000700769eead5a5cb942c25b
2014-04-19Allow parenthesed do-block in cmdargNobuyoshi Nakada
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-06Merge pull request #2018 from akuroda/pr_false_testYukihiro "Matz" Matsumoto
add tests for FalseClass
2014-04-06remove tests for unicode chars in regular expression literals.Tomoyuki Sahara
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-06add tests for FalseClassAkira Kuroda
reorder and add tests for 15.2.6.1
2014-04-05Fix 'make test' fail to build on Windows(MSVC)kyab
2014-04-04Hash#replace should copy default as well; close #2004Yukihiro "Matz" Matsumoto
2014-04-04merge test code from #2003Yukihiro "Matz" Matsumoto
2014-04-03Fix build fail for 'make test' with no mrbgemskyab
2014-03-31Show error class name when raise Errorksss
2014-03-29Use mrb_intern_lit instead of mrb_intern in test driver.take_cheeze
2014-03-28Implement Kernel#define_singleton_methodksss
2014-03-28Add test for backquote.take_cheeze
* Implement code generation of NODE_DXSTR. * Fix NOVAL NODE_XSTR.
2014-03-28add Numeric#/ tests; ref #1965Yukihiro "Matz" Matsumoto
2014-03-27Implement Kernel#__method__ksss
2014-03-27allow underscores in integer literals; close #1960Yukihiro "Matz" Matsumoto
2014-03-26revert 813ba5 since #1949 fixedYukihiro "Matz" Matsumoto
2014-03-26Don't use ensure to fix crash of mruby-eval test.take_cheeze
2014-03-23Small correction to the test identification.chasonr
2014-03-23Implement \u notation for strings and regexes.chasonr
This change adds the \u notation for double quoted strings and regular expressions. It does not implement the \u notation for character literals. Both the \uNNNN and \u{NNNN} notations are supported. \uNNNN is implemented by emitting equivalent UTF-8; that is, "\u4000" is equivalent to "\xE4\x80\x80". Unlike CRuby, the \u{NNNN} notation allows only one character per pair of braces; I see no way to lift this restriction without remodeling the parser.
2014-03-24remove unnecessary operator method call; ref #1927Yukihiro "Matz" Matsumoto
2014-03-24Count crashed tests in total tests count.take_cheeze
2014-03-21Float#round fix bug for infinity and nan casesksss
2014-03-21Fix behavior of Comparable methodsksss
when <=> return nil
2014-03-21add tests for TrueClassAkira Kuroda
reorder and add tests for 15.2.5.1
2014-03-17Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-03-17Merge pull request #1875 from akuroda/pr_nil_testYukihiro "Matz" Matsumoto
add unit tests for NilClass
2014-03-17refactor Enumerable#{all?,any?} testsYukihiro "Matz" Matsumoto
2014-03-17Merge pull request #1869 from suzukaze/add-test-enumerable.rbYukihiro "Matz" Matsumoto
Add test enumerable.rb
2014-03-17Merge pull request #1871 from ksss/numeric-plusYukihiro "Matz" Matsumoto
fix bug when `0 + other object`
2014-03-17Merge pull request #1872 from ksss/numeric-mulYukihiro "Matz" Matsumoto
fix bug when `0 * other object`
2014-03-17Merge pull request #1873 from suzukaze/refactor-assert.rbYukihiro "Matz" Matsumoto
Refactor assert_true
2014-03-17add unit tests for NilClassAkira Kuroda
2014-03-16float + nil should be raise TypeErrorksss
2014-03-16Refactor assert_trueJun Hiroe
2014-03-16fix bug when `0 * other object`ksss
2014-03-16fix bug when `0 + other object`ksss
2014-03-16Add Enumerable#any?(&block) testsJun Hiroe
2014-03-16Add Enumerable#all?(&block) testsJun Hiroe
2014-03-15Hash#shift may return any entriesYukihiro "Matz" Matsumoto
2014-03-11add assertion method `assert_nothing_raised'ksss
2014-03-10reduce mrb_open calls in mrbgem testtake_cheeze
2014-03-09Add comments to notify files are auto generated.Masaki Muranaka
2014-03-08fix #1823ksss
2014-03-07Merge pull request #1820 from ksss/string-embedYukihiro "Matz" Matsumoto
Embed small string
2014-03-07Fix behavior Hash#eql?ksss
2014-03-06add embed string testksss