adlio / trello

Trello API wrapper for Go
MIT License
219 stars 71 forks source link

fix: get rid of npe in search results #60

Closed mehanizm closed 4 years ago

mehanizm commented 4 years ago

To avoid nil pointer in card structures in search results add client to the results.

Add test.

codecov-io commented 4 years ago

Codecov Report

Merging #60 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   73.11%   73.17%   +0.06%     
==========================================
  Files          21       21              
  Lines         889      891       +2     
==========================================
+ Hits          650      652       +2     
  Misses        207      207              
  Partials       32       32              
Impacted Files Coverage Δ
search.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1bbf17a...8faebd3. Read the comment docs.