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

openconfig / ygot / 580 / 2
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2017 11:19PM UTC
Files 37
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

17 Oct 2017 11:15PM UTC coverage: 88.18% (+0.02%) from 88.159%
580.2

push

travis-ci

web-flow
Fix bug whereby BuildEmptyTree + Merge results in empty struct. (#96)

* Fix bug whereby BuildEmptyTree + Merge results in empty struct.

 * (M) ygot/struct_validation_map.go
   - Fix an issue whereby an empty dst struct ptr was always used
     (created with reflect.New) in the case that structs were being
     merged. This means that if BuildEmptyTree had been used on the
     structs being merged, then even empty branches would be
     overwritten.
   - Return an error if a non-struct ptr is non-nil in two different
     structs.
  * (M) ygot/struct_validation_map_test.go
   - Add testing for returned errors.
   - Add testing to validate the BuildEmptyTree issue above.

* Add comment related to merging of structs to function comment.

5864 of 6650 relevant lines covered (88.18%)

79.87 hits per line

Source Files on job 580.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 580
  • Travis Job 580.2
  • c9a60fd0 on github
  • Prev Job for on master (#569.2)
  • Next Job for on master (#583.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