markbates / markbates/cover_me

UTF issue

Open
#17 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
203
Forks
17
PR merge metrics
No merged PRs in 30d

Description

/Users/ari/.rvm/gems/ruby-1.9.2-p0/gems/cover_me-1.0.0.rc3/lib/cover_me/results.rb:9:in `eval': exit (SyntaxError)
(eval):1: Invalid char`\x1F' in expression
(eval):1: invalid multibyte char (UTF-8)
from /Users/ari/.rvm/gems/ruby-1.9.2-p0/gems/cover_me-1.0.0.rc3/lib/cover_me/results.rb:9:in `read_results'
from /Users/ari/.rvm/gems/ruby-1.9.2-p0/gems/cover_me-1.0.0.rc3/lib/cover_me/results.rb:16:in`merge_results!'
from /Users/ari/.rvm/gems/ruby-1.9.2-p0/gems/cover_me-1.0.0.rc3/lib/cover_me.rb:44:in `block in '

I can't tell which file in my project is causing this, but I don't get any errors from a normal test run without cover_me.

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

Start at lib/cover_me/results.rb:9 in read_results, then inspect lib/cover_me.rb:44 and reproduce the failure with cover_me alongside the normal test run. Done means the offending project input or encoding path is identified and the UTF-8 failure is prevented or reported clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing-qa, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.