summaryrefslogtreecommitdiffhomepage
path: root/test
AgeCommit message (Collapse)Author
2016-03-07Fix doesn't work bintest on :visualcpp toolchainbggd
2016-01-27protect NoMethodError from calling to_hash in replaceSayed Abdelhaleem
2016-01-11Merge pull request #3080 from kou/fix-class-variable-in-moduleYukihiro "Matz" Matsumoto
Fix class variable reference in module
2016-01-11Fix class variable reference in moduleKouhei Sutou
Fix #3079
2015-12-31__t_printstr__ may not be available for testsYukihiro "Matz" Matsumoto
2015-12-30simpler t_printYukihiro "Matz" Matsumoto
2015-12-29Skip backtrace related tests when backtrace isn't availableKouhei Sutou
2015-12-29Support backtrace after method callsKouhei Sutou
GitHub: fix #2902, #2917 The current implementation traverses stack to retrieve backtrace. But stack will be changed when some operations are occurred. It means that backtrace may be broken after some operations. This change (1) saves the minimum information to retrieve backtrace when exception is raised and (2) restores backtrace from the minimum information when backtrace is needed. It reduces overhead for creating backtrace Ruby objects. The space for the minimum information is reused by multiple exceptions. So memory allocation isn't occurred for each exception.
2015-12-17Fix "ambiguous first argument" warningZachary Scott
2015-11-18Bugfix nagative-number lshift() bit overflowmurase_syuka
2015-11-18Bugfix lshift() bit overflow; close #3023murase_syuka
2015-11-17mruby-1.2.01.2.0mimaki
2015-11-09fail to debuildAkira Mitsui
2015-11-06fix ambiguous first argument warningcremno
/home/travis/build/mruby/mruby/test/t/float.rb:201:17: ambiguous first argument; put parentheses or even spaces
2015-10-01clarify asserts to UTF-8 test suites; ref #2971Yukihiro "Matz" Matsumoto
2015-10-01Merge pull request #2971 from mattn/utf8-chopYukihiro "Matz" Matsumoto
chop with utf-8. fix #2967
2015-09-30fix tests on windows.Yasuhiro Matsumoto
'bin/mruby' not work on windows. so correct command name and quoted arguments.
2015-09-30fix testsYasuhiro Matsumoto
2015-09-29chop with utf-8. fix #2967Yasuhiro Matsumoto
2015-09-24UTF-8 string support in coreYukihiro "Matz" Matsumoto
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-23String#rindex should no longer take integer argumentYukihiro "Matz" Matsumoto
2015-09-16support String#[]= with 3 argstakahashim
2015-09-10add Hash#rehash to handle key modification; ref #2945Yukihiro "Matz" Matsumoto
2015-09-04Merge branch 'module-prepend' of https://github.com/polyfox/mruby into ↵Yukihiro "Matz" Matsumoto
polyfox-module-prepend
2015-09-03Merge pull request #2924 from zzak/mruby-testYukihiro "Matz" Matsumoto
Extract mrbtest to binary gem
2015-09-02Integer << and >> to use Float instead of raising RangeErrorYukihiro "Matz" Matsumoto
2015-09-02Make travis happyZachary Scott
We have do this because mruby's test files are found using MRUBY_ROOT, like this: mrbs = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb")
2015-09-02Float << and >> should be more compatible to FixnumYukihiro "Matz" Matsumoto
2015-08-31run bintests within subfolders of bintest/Terence Lee
2015-08-27Add String#freeze testJun Hiroe
2015-08-22Move test source code and rake task to mrbgemZachary Scott
2015-07-13Clean up testsBlaž Hrastnik
2015-07-13assert() cannot be nestedBlaž Hrastnik
2015-07-13Set origin when doing kind_of? comparisonsBlaž Hrastnik
2015-07-13Enable test_prepend_module_ancestors because it seems to pass.Blaž Hrastnik
2015-07-13Space out test_prepend_super_in_alias assertCorey Powell
Also tried to fix it, however the problem lies with how aliased methods are done and their internal structure. mruby simply aliases methods by grabbing the RProc and giving it a new name, super then determines the original method to call by using the name so a method called m, aliased as m2, will call the m2 super method instead of m
2015-07-13Enable visibility prepend tests againBlaž Hrastnik
2015-07-13Ported all MRI prepend testsCorey Powell
And of course, some of them fail miserably
2015-07-13Removed some debug prints from the testCorey Powell
2015-07-13Ported a bit more of the MRI Module#prepend tests overCorey Powell
Currently kind_of fails miserably, still looking for the reason
2015-07-13Rename classes because of conflictsBlaž Hrastnik
2015-07-13Implement Module#prepend.Blaž Hrastnik
2015-06-22fix arity of lambdas with optional argumentscremno
From the CRuby 2.2.2 Proc#arity documentation: If the block has optional arguments, returns -n-1, where n is the number of mandatory arguments, with the exception for blocks that are not lambdas and have only a finite number of optional arguments; in this latter case, returns n.
2015-06-08gsub/sub supports back references in substitutes. fixes #2816.Tomoyuki Sahara
This implementation is compatible with CRuby's String#gsub/sub except \1 ... \9 and \+. They are useless without Regexp library.
2015-05-31fix masgn nosplat array rhs bugcremno
The rest lhs variable has to be an empty array if rhs is an array with less elements than pre + post lhs variables. The codegen generated OP_ARRAY with an invalid length (such as 127 for *a, b = []) because rn was negative.
2015-05-31update test/t/syntax.rb to success on CRubyYukihiro "Matz" Matsumoto
2015-05-31Merge branch 'failing-multiple-assignments-with-rest-tests' of ↵Yukihiro "Matz" Matsumoto
https://github.com/cremno/mruby into cremno-failing-multiple-assignments-with-rest-tests
2015-05-29check if outer is a class or modulecremno
For modules this check didn't exist yet. Also call #inspect.
2015-05-29add multiple assignment with rest testscremno
2015-05-15Use `mrb_funcall` instead of `mrb_load_string` in test driver.take_cheeze
Related to #2760.