summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2014-05-10Merge pull request #2223 from yui-knk/fix-nameerrorYukihiro "Matz" Matsumoto
Delete unused NameError#new. And add test.
2014-05-10Merge pull request #2226 from yui-knk/hash-merge-errorYukihiro "Matz" Matsumoto
Change to raise TypeError (Hash#merge, #merge!)
2014-05-10Change to raise TypeError (Hash#merge, #merge!)yui-knk
2014-05-10OP_ENTER fix segmentation faultksss
2014-05-10Delete unused NameError#new. And add test.yui-knk
2014-05-10Merge pull request #2221 from yui-knk/add-exception-testYukihiro "Matz" Matsumoto
Add exception test
2014-05-10Merge pull request #2222 from take-cheeze/remove_proc_methYukihiro "Matz" Matsumoto
Remove use of mruby-proc-ext method in core test.
2014-05-10Merge pull request #2220 from yui-knk/refactor-testYukihiro "Matz" Matsumoto
Refactoring test to use assert_nothing_raised.
2014-05-10Add assert to Exception#inspect test.yui-knk
2014-05-10Remove use of mruby-proc-ext method.take_cheeze
2014-05-09Refactoring test to use assert_nothing_raised.yui-knk
2014-05-09Move `__method__` to mruby-kernel-ext since it's not ISO method.take_cheeze
2014-05-09Merge pull request #2214 from ksss/proc-clearYukihiro "Matz" Matsumoto
OP_ENTER clean block object in register
2014-05-09Merge pull request #2215 from yui-knk/fix-typo-testYukihiro "Matz" Matsumoto
Add ISO No. to String#inspect test.
2014-05-09Add ISO No. to String#inspect test.yui-knk
2014-05-09OP_ENTER clean block object in registerksss
2014-05-08Add tests for Range#to_s Range#inspect.yui-knk
2014-05-08fix typoyui-knk
2014-05-08Make Array#[]= raise IndexError.yui-knk
If second param is negative, Array#[] raise IndexError.
2014-05-06OP_ENTER fix variable assignmentksss
2014-05-05Refactoring exception test.yui-knk
Change to use assert_equal explicitly.
2014-05-03count skipped line numbersNobuyoshi Nakada
2014-05-03skip to the next line and reset column after `=end`Nobuyoshi Nakada
2014-05-03fix embedded documentsNobuyoshi Nakada
tabs are allowed after `=begin` and `=end`. raise `SyntaxError` if no =end is found.
2014-04-30remove trailing spacesNobuyoshi Nakada
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-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.