summaryrefslogtreecommitdiffhomepage
path: root/test/t
AgeCommit message (Collapse)Author
2014-04-28Add tests for multiline comment parsingCarson McDonald
2014-04-28add post mandatory argument testmirichi
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-04Hash#replace should copy default as well; close #2004Yukihiro "Matz" Matsumoto
2014-04-04merge test code from #2003Yukihiro "Matz" Matsumoto
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-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-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-17add unit tests for NilClassAkira Kuroda
2014-03-16float + nil should be raise TypeErrorksss
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-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
2014-03-05__FILE__ test: add support for \ as separatorcremno
2014-03-04fix off-by-one error in String#rindex(fixnum)cubicdaiya
null-terminated string should not be included in search targets.
2014-03-04add tests for Integer#divmod.Tomoyuki Sahara
2014-03-04Fix Float#divmod.Tomoyuki Sahara
2014-03-02add tests for String#*Akira Kuroda
add test cases for 0 and -1
2014-02-28swap actual and expected; ref #1764Yukihiro "Matz" Matsumoto
2014-02-28fix test for Array#[]ksss
2014-02-27Refactor tests in kernel.rbJun Hiroe
2014-02-26add test for Kernel#instance_variable_defined?cubicdaiya
2014-02-26add test for __LINE__ and __FILE__take_cheeze
2014-02-22fix the position of capitalize! and downcast!, and add test for upcase!Akira Kuroda