diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-30 14:01:18 +0100 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-12-01 08:22:37 +0900 |
| commit | fa0f3eff228bb26de6d5b0e1238b1f358165dbd0 (patch) | |
| tree | c8b06dbabf879f6174d583c33f561f4043fba366 /spec/ruby/core | |
| parent | 5b1f7f26b4ff3b05e1c184ae87154a323b1be915 (diff) | |
[ruby/fileutils] Fix error printing test failure
`exception_details` is not defined anywhere.
This commit fixes the following test crash in ruby 2.4
```
Error: test_assert_output_lines(TestFileUtils): NoMethodError: undefined method `exception_details' for #<TestFileUtils:0x00005556ef699178>
```
And replaces it with an actual test failure:
```
[Test::Unit::CoreAssertions::MiniTest::Assertion] exception expected, not #<NoMethodError: undefined method `full_message' for #<RuntimeError: ok>
Did you mean? message>.
```
https://github.com/ruby/fileutils/commit/2f38ba6e82
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions
