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

ryanmcgrath / twython / 313 / 4
57%
master: 57%

Build:
DEFAULT BRANCH: master
Ran 06 Jan 2018 07:09PM UTC
Files 10
Run time 0s
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

06 Jan 2018 07:08PM UTC coverage: 57.027% (+0.1%) from 56.911%
313.4

Pull #479

travis-ci

web-flow
Fix links in tweets when there's a prefix

If a tweet had a prefix (@names that it was replying to) then the length
of these is counted in the indices that show the locations of entities
within the tweet. But we were applying those indices to the 'display'
part of the tweet that doesn't include the prefix.

So, if the tweet was:

    @bob Please meet @bill

and the prefix was `@bob `, then the indices for linking `@bill`
are something like `17,21`. But we were applying the link around
`@bill` to the display text part of the tweet, which is:

    Please meet @bill

And so the indices no longer lined up with `@bill`.

Now they do, and the same for URLs and hashtags.
Pull Request #479: Fix links in tweets when there's a prefix

422 of 740 relevant lines covered (57.03%)

0.57 hits per line

Source Files on job 313.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 313
  • Travis Job 313.4
  • b610d74c on github
  • Prev Job for on master (#310.4)
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