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

uber-go / zap / 1691
97%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2017 04:22PM UTC
Jobs 2
Files 36
Run time 4s
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
1691

cron

travis-ci

web-flow
Open should only return close on success (#396)

Config assumes that Open will always return a close function
which causes a panic when Open returns an error, since it doesn't
return a close function.

We can instead clean up the assumption that we return partial values
on error, and instead use a more common pattern:
 - On success, `err == nil` and all other return values are valid
 - On error, `err != nil` and all other return values are zero values

Fixes #390.

9 of 9 new or added lines in 2 files covered. (100.0%)

2264 of 2326 relevant lines covered (97.33%)

145214.7 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
zapcore/sampler.go
Jobs
ID Job ID Ran Files Coverage
1 1691.1 31 Mar 2017 04:22PM UTC 0
97.33
Travis Job 1691.1
2 1691.2 31 Mar 2017 04:22PM UTC 0
97.33
Travis Job 1691.2
Source Files on build 1691
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1691
  • e33fbf63 on github
  • Prev Build on master (#1690)
  • Next Build on master (#1693)
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