ruby / ruby/yaml

CI: test-unit-ruby-core fails on Ruby 2.4 - syntax error, unexpected keyword_rescue, expecting keyword_end

Open
#94 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
37
Forks
13
Avg merge
9h 47m
Merged PRs (30d)
2

Description

This Issue is to say that the Ruby 2.4 fails its tests, due to test-unit-ruby-core using newer Ruby syntax.

2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb:390: syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError)
        rescue => marshal_error

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Ruby 2.4 test failure, then inspect 2.4.0/gems/test-unit-ruby-core-1.0.15/lib/core_assertions.rb around line 390, where the syntax error is reported. Trace how this dependency is used by the CI test and verify that the Ruby 2.4 test suite completes without the syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.