Skip to content

Use Float#floor instead of Float#round #130

Open
@elkesrio

Description

@elkesrio

This is a follow-up of simplecov-ruby/simplecov#679

I'm having a 100% test coverage with some missed lines

image (5)

I suggest to stick with using Float#floor instead of round as simplecov does.

The changes would be in :

  • lib/simplecov-html.rb:41
  • lib/simplecov-html.rb:42
  • views/covered_percent.erb:2
  • views/file_list.erb:10
  • views/file_list.erb:61
  • views/file_list.erb:66
  • views/file_list.erb:68

Are you open to merge pull requests? I can submit one

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions