| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-15 | Merge pull request #4400 from ↵ | Yukihiro "Matz" Matsumoto | |
| shuujii/fix-name-assignment-to-frozen-anonymous-class-module Fix name assignment to frozen anonymous class/module | |||
| 2019-05-03 | Simplify conversion process for `i` in `mrb_get_args()` | KOBAYASHI Shuji | |
| 2019-04-29 | Refine the default values of `flunk` | KOBAYASHI Shuji | |
| The default message for the second argument should be set to the first argument because only one argument is normally specified. | |||
| 2019-04-25 | Singleton class of frozen object should be frozen | KOBAYASHI Shuji | |
| Before this patch: p (class << Object.new.freeze; self end).frozen? #=> false sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> false After this patch / Ruby: p (class << Object.new.freeze; self end).frozen? #=> true sc = class << (o=Object.new); self end; o.freeze; p sc.frozen? #=> true | |||
| 2019-04-24 | Fix modiying class variable to frozen class/module | KOBAYASHI Shuji | |
| 2019-04-23 | Fix "ambiguous first argument" warning in `test/t/float.rb` | KOBAYASHI Shuji | |
| 2019-04-23 | Fix name assignment to frozen anonymous class/module | KOBAYASHI Shuji | |
| Fix the following issues: A = Class.new.freeze #=> FrozenError Module.new::B = Class.new.freeze #=> FrozenError String::B = Module.new.freeze #=> FrozenError | |||
| 2019-04-22 | Merge pull request #4356 from shuujii/add-assert_match-and-assert_not_match | Yukihiro "Matz" Matsumoto | |
| Add `assert_match` and `assert_not_match` | |||
| 2019-04-22 | Add `assert_predicate` and `assert_operator` | KOBAYASHI Shuji | |
| 2019-04-21 | Commented out `String#scan` because it is not implemented yet | KOBAYASHI Shuji | |
| 2019-04-19 | Add type check (conversion) in `String#[]=` | KOBAYASHI Shuji | |
| Before this patch: 'a'[0] = 1 #=> 1 'a'[:a] = '1' #=> ArgumentError 'a'[:a, 0] = '1' #=> ArgumentError 'a'[0, :a] = '1' #=> ArgumentError 'a'[0, 1] = 1 #=> 1 After this patch / Ruby: 'a'[0] = 1 #=> TypeError 'a'[:a] = '1' #=> TypeError 'a'[:a, 0] = '1' #=> TypeError 'a'[0, :a] = '1' #=> TypeError 'a'[0, 1] = 1 #=> TypeError | |||
| 2019-04-14 | Add `assert_match` and `assert_not_match` | KOBAYASHI Shuji | |
| 2019-04-12 | Refine `assert_float` | KOBAYASHI Shuji | |
| Avoid arithmetic operations when `exp` and/or `act` are infinity or NaN. | |||
| 2019-04-10 | Use `mrb_immediate_p()` in `mrb_obj_freeze()` and `mrb_obj_frozen()` | KOBAYASHI Shuji | |
| 2019-04-07 | Fix test for `Array#slice` | KOBAYASHI Shuji | |
| 2019-04-05 | `Module#alias_method` should return `self` in ISO standard | KOBAYASHI Shuji | |
| 2019-03-31 | Fix warning: '*' interpreted as argument prefix | KOBAYASHI Shuji | |
| 2019-03-30 | Add `pass` and `flunk` to `test/assert.rb` | KOBAYASHI Shuji | |
| 2019-03-26 | Fix dealing with infinity and NaN in `test/assert.rb:assert_float` | KOBAYASHI Shuji | |
| `assert_float` is always passed when expected value and/or actual value are infinity or NaN. This behavior seems unintentional. Before this patch: assert_float(Float::INFINITY, 1.0) #=> pass assert_float(-Float::INFINITY, 1) #=> pass assert_float(1, 1/0) #=> pass assert_float(1, -1/0) #=> pass assert_float(1.0, Float::NAN) #=> pass assert_float(Float::NAN, 1) #=> pass After this patch: assert_float(Float::INFINITY, 1.0) #=> fail: Expected 1.0 to be Infinity. assert_float(-Float::INFINITY, 1) #=> fail: Expected 1 to be -Infinity. assert_float(1, 1/0) #=> fail: Expected Infinity to be 1. assert_float(1, -1/0) #=> fail: Expected -Infinity to be 1. assert_float(1.0, Float::NAN) #=> fail: Expected NaN to be 1.0. assert_float(Float::NAN, 1) #=> fail: Expected 1 to be NaN. | |||
| 2019-03-25 | Remove implementation of `Symbol#===` | KOBAYASHI Shuji | |
| For reducing program size. | |||
| 2019-03-25 | Update float test values to avoid precision errors. | Yukihiro "Matz" Matsumoto | |
| 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 | |
