• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Genki-S / ttnt / 118
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v0.0.4
DEFAULT BRANCH: master
Ran 15 Jul 2015 03:47AM UTC
Jobs 1
Files 14
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
118

push

travis-ci

Genki-S
Add previous line or `hunk.old_start` when a diff is line addition

Since added lines did not exist in previous file, the line number of
those cannot be used to determine which tests to run (since test-to-code
mapping is a mapping from line number in *previous file* to a test
file).

So, this commit changes to add lines *before* the added lines
(`prev_line`). If the addition starts from the first line of a file,
it adds `hunk.old_start` (which is most certainly the first line if
patches are generated the normal way).

325 of 327 relevant lines covered (99.39%)

7.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 118.1 (2.2.2) 15 Jul 2015 03:47AM UTC 0
99.39
Travis Job 118.1
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #118
  • f88dc61e on github
  • Prev Build on calculate_proper_code_source_lineno (#115)
  • Next Build on calculate_proper_code_source_lineno (#120)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc