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

davecgh / go-spew / 18
97%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2014 12:02AM UTC
Jobs 1
Files 5
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
18

push

travis-ci

davecgh
Add logic to deal with reflect pkg changes on tip.

This commit adds logic to gracefully handle the new internal reflect.Value
structure on tip as of golang commit 82f48826c6c7 as well as the internal
reflect.Value flag bit changes as of golang commit 90a7c3c86944.

It accomplishes this by doing some inspection at init time and choosing
the appropriate offsets and flag positions accordingly.  There was some
previous logic which dealt with a similar issue for golang commit
ecccf07e7f9d.  However, since the more recent commits essentially reverted
the change and also modify the flag bit positions, it made more sense to
rework the detection logic.  In particular, the new logic examines the
size of the reflect.Value struct to determine the difference and extracts
the kind from the flags to determine if the flags have been changed.

As a result, this commit allows spew to work properly with tip all the
back to Go 1.0.

20 of 20 new or added lines in 1 file covered. (100.0%)

798 of 814 relevant lines covered (98.03%)

194.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
100.0
spew/common.go
Jobs
ID Job ID Ran Files Coverage
1 18.1 25 Oct 2014 12:02AM UTC 0
98.03
Travis Job 18.1
Source Files on build 18
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #18
  • 12885424 on github
  • Prev Build on master (#17)
  • Next Build on master (#19)
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

© 2025 Coveralls, Inc