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

bst-mug / acres / 252
93%

Build:
DEFAULT BRANCH: master
Ran 27 Aug 2018 09:56AM UTC
Jobs 3
Files 23
Run time 53s
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
252

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%)

2.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 252.1 27 Aug 2018 09:56AM UTC 0
80.58
Travis Job 252.1
2 252.2 27 Aug 2018 09:56AM UTC 0
80.58
Travis Job 252.2
3 252.3 27 Aug 2018 09:57AM UTC 0
80.58
Travis Job 252.3
Source Files on build 252
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #252
  • b288e0d1 on github
  • Prev Build on master (#247)
  • Next Build on master (#253)
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