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

bitwalker / timex / 694
72%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2017 07:32PM UTC
Jobs 2
Files 57
Run time 7s
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
694

push

travis-ci

bitwalker
Fix #356 - parsing of milliseconds (#363)

The use of `ms |> String.trim("0")` could result in an empty string when
the input was "000", which in turn made `String.to_integer` complain.

Since `trim` removes zeros from both ends of the String, milliseconds
ending in `0` or `00` were incorrectly parsed as well.

This commit changes `String.trim` to `String.trim_leading` and adds
a safety-clause to protect against the "000" input.

1851 of 2724 relevant lines covered (67.95%)

175.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 694.1 26 Sep 2017 07:32PM UTC 0
67.95
Travis Job 694.1
2 694.2 26 Sep 2017 07:32PM UTC 0
67.95
Travis Job 694.2
Source Files on build 694
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #694
  • f13ef88e on github
  • Prev Build on master (#693)
  • Next Build on master (#695)
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