| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-03-25 | Avoid infinite binary floating numbers in `float`. | Yukihiro "Matz" Matsumoto | |
| 2019-03-23 | Refactor `t_print` for test | KOBAYASHI Shuji | |
| 2019-03-22 | Simplify `assert_step` in `test/t/numeric.rb` | KOBAYASHI Shuji | |
| 2019-03-22 | Merge pull request #4334 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/remove-redundant-content-in-assertion-failure-message-and-diff Remove redundant content in assertion failure message and diff | |||
| 2019-03-21 | Fix `Float#eql?` | KOBAYASHI Shuji | |
| 2019-03-21 | Remove redundant content in assertion failure message and diff | KOBAYASHI Shuji | |
| Based on minitest RubyGem. Example of before this patch: - Assertion[1] Failed: Expected 1 to be 2 Expected: 2 Actual: 1 - Assertion[2] Failed: Expected [1, 3] to include 2 Collection: [1, 3] Object: 2 Example of after this patch: - Assertion[1] Expected: 2 Actual: 1 - Assertion[2] Expected [1, 3] to include 2. | |||
| 2019-03-19 | Use `FrozenError` instead of `RuntimeError` in frozen object modification test | KOBAYASHI Shuji | |
| 2019-03-17 | Fix class/instance variable name validation | KOBAYASHI Shuji | |
| - `@@?` etc are invalid class variable name. - `@1` etc are invalid instance variable name. | |||
| 2019-03-15 | Merge pull request #4328 from shuujii/fix-constant-name-validation | Yukihiro "Matz" Matsumoto | |
| Fix constant name validation | |||
| 2019-03-15 | Avoid using infinite binary floating point numbers in tests. | Yukihiro "Matz" Matsumoto | |
| 2019-03-14 | Fix constant name validation | KOBAYASHI Shuji | |
| `X!` etc are invalid constant name. | |||
| 2019-03-13 | Do not raise an exception when bintest fail | KOBAYASHI Shuji | |
| - An exception do not raise when mrbtest fail. - There are no useful informations in exception message and backtrace. | |||
| 2019-03-10 | Add bintest header | KOBAYASHI Shuji | |
| 2019-03-07 | Set `GEMNAME` on bintest | KOBAYASHI Shuji | |
| 2019-03-05 | Count skip tests | KOBAYASHI Shuji | |
| 2019-03-04 | `GEMNAME` is undefined in bintest | KOBAYASHI Shuji | |
| ref: https://github.com/mruby/mruby/pull/4296#discussion_r261868710 | |||
| 2019-03-03 | Simplify `MRubyTestSkip` in `test/assert.rb` | KOBAYASHI Shuji | |
| 2019-03-02 | Fix missing assertion in `test/t/class.rb` | KOBAYASHI Shuji | |
| 2019-03-02 | Remove useless regression tests; ref #4306 | Yukihiro "Matz" Matsumoto | |
| 2019-03-02 | Remove useless regression tests; fix #4306 | Yukihiro "Matz" Matsumoto | |
| 2019-02-28 | Remove `?A` style string literals from string tests; #4303 | Yukihiro "Matz" Matsumoto | |
| We have a plan to obsolete this style in the future. | |||
| 2019-02-27 | Add test for string literal concatenation | dearblue | |
| 2019-02-26 | Remove unneeded `=>` in test skip/error messages | KOBAYASHI Shuji | |
| 2019-02-24 | Refine mrbgem name in assertion failure/skip message for core test | KOBAYASHI Shuji | |
| 2019-02-21 | Merge pull request #4290 from shuujii/refactor-exception-handling-in-assert | Yukihiro "Matz" Matsumoto | |
| Refactor exception handling in `assert` | |||
| 2019-02-21 | Refactor exception handling in `assert` | KOBAYASHI Shuji | |
| 2019-02-20 | `assert_true`/`assert_false` should pass when actual is only `true`/`false` | KOBAYASHI Shuji | |
| For the following reasons: - Previous behavior is confusable because it's different from test/unit rubygem's `assert_true` - Tests may pass unintentionally in an inappropriate way; ref #4285 #4287 | |||
| 2019-02-19 | Use more appropriate assertion methods | KOBAYASHI Shuji | |
| 2019-02-18 | Fix wrong assertion method in some tests | KOBAYASHI Shuji | |
| 2019-02-14 | Lazy message/diff creation for assertion in `test/assert.rb` | KOBAYASHI Shuji | |
| Include the following changes too: - Extract part of logic with block to a method - Use `var ||= ...` instead of `var = ... unless var` - Unify using parentheses for `t_print` - Change methods order | |||
| 2019-02-09 | Always through `assert_true` for assertion methods in `test/assert.rb` | KOBAYASHI Shuji | |
| 2019-01-28 | `class`/`module` expression with empty body should return `nil` | KOBAYASHI Shuji | |
| Before: p(class A end) #=> A p(class << self; end) #=> #<Class:#<Object:0x7fdc3880e420>> p(module B end) #=> B After/Ruby: p(class A end) #=> nil p(class << self; end) #=> nil p(module B end) #=> nil | |||
| 2019-01-22 | Fix tests for `String#reverse` with `MRB_UTF8_STRING` | KOBAYASHI Shuji | |
| 2019-01-17 | Fix assertion name for `Numeric#**` test | KOBAYASHI Shuji | |
| 2019-01-15 | Fix coercing for first step counter in `Numeric#step` | KOBAYASHI Shuji | |
| Before: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7, 4.0] After / Ruby: a=[]; 7.step(4, -3.0) { |c| a << c }; p a #=> [7.0, 4.0] | |||
| 2019-01-13 | Improve compatibility to CRuby for `Float#to_s` | KOBAYASHI Shuji | |
| Bfore: Float::INFINITY.to_s #=> "inf" 50.0.to_s #=> "50" 1e20.to_s #=> "1e+20" After / CRuby: Float::INFINITY.to_s #=> "Infinity" 50.0.to_s #=> "50.0" 1e20.to_s #=> "1.0e+20" | |||
| 2019-01-12 | Use `__send__` instead of `send`; ref #4207 | KOBAYASHI Shuji | |
| 2019-01-05 | Add `assert_same` and `assert_not_same` | KOBAYASHI Shuji | |
| 2019-01-03 | Remove `Kernel#class_defined?` which is not available in CRuby; #3829 | Yukihiro "Matz" Matsumoto | |
| 2019-01-01 | range: Embed edges in RRange on boxing environment. | KOBAYASHI Shuji | |
| [Breaking changes] Developers must use following APIs for accessing attributes of RRange because RRange structure depends on boxing setting. - mrb_range_beg - mrb_range_end - mrb_range_excl_p | |||
| 2019-01-01 | Use `__send__` instead of `send` in a Range test. | KOBAYASHI Shuji | |
| This assertion is accidentaly passed because `send` was removed from mruby core so `NoMethodError` is raised and `NoMethodError` is subclass of `NameError`. | |||
| 2018-12-21 | Fix undefined variable is using | dearblue | |
| 2018-11-19 | Remove implicit conversion using `to_str` method; fix #3854 | Yukihiro "Matz" Matsumoto | |
| We have added internal convenience method `__to_str` which does string type check. The issue #3854 was fixed but fundamental flaw of lack of stack depth check along with fibers still remains. Use `MRB_GC_FIXED_ARENA` for workaround. | |||
| 2018-11-05 | Fixed a bug in argument number check with kwargs; fix #4159 | Yukihiro "Matz" Matsumoto | |
| 2018-10-18 | replace quicksort with mergesort. | Tomoyuki Sahara | |
| 2018-10-15 | Add a testcase of #4137 fix | Uchio KONDO | |
| 2018-10-12 | `Hash#delete` should return the deleted value; fix #4133 | Yukihiro "Matz" Matsumoto | |
| 2018-09-20 | Move `Symbol#to_proc` to the core from `mruby-symbol-ext` gem. | Yukihiro "Matz" Matsumoto | |
| Even though `Symbol#to_proc` is not included in ISO standard, the `some_method(&:method_name)` is used very widely and convenient. So we moved it to the core. | |||
| 2018-09-07 | Clear terminated space | dearblue | |
| 2018-09-05 | Merge pull request #4055 from take-cheeze/verbose_bintest | Yukihiro "Matz" Matsumoto | |
| Support verbose mode in bintest. | |||
