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

bst-mug / acres / 252 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2018 09:56AM UTC
Files 23
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

27 Aug 2018 09:54AM UTC coverage: 80.585% (-8.7%) from 89.277%
252.2

push

travis-ci

michelole
Fix IndexError on `create_german_acronym`

When `create_german_acronym` was provided with a string with more than two whitespaces (or with symbols that would be replaced by a whitespace), the loop would fail with an IndexError.

This commit introduces `text.remove_duplicated_whitespaces`, a helper function to run a cleaning regex wherever such cleaning is necessary.

Then, use it for proper cleaning on `create_german_acronym`.

This fixes the build, as web scraping during `corpus.find_synonyms` would lead to at least one of such malformed strings.

1158 of 1437 relevant lines covered (80.58%)

0.81 hits per line

Source Files on job 252.2
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 131
  • Travis Job 252.2
  • b288e0d1 on github
  • Prev Job for on master (#247.1)
  • Next Job for on master (#253.1)
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