Skip to content

Conversation

@deivid-rodriguez
Copy link
Contributor

@deivid-rodriguez deivid-rodriguez commented Nov 30, 2019

These two commits should get CI green.

Fixes #44.

`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>.
```
`Exception#full_message` is only defined on ruby 2.5.0 and above.
@hsbt
Copy link
Member

hsbt commented Nov 30, 2019

Thanks!

@hsbt hsbt merged commit 7023824 into ruby:master Nov 30, 2019
@deivid-rodriguez
Copy link
Contributor Author

No problem!

@deivid-rodriguez deivid-rodriguez deleted the fix_2_4_ci branch December 1, 2019 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI failed on ruby 2.4 or earlier

2 participants