Closed paullen closed 1 year ago
Hey. Just wanted to follow up on this PR. This seems like a good suggestion to have, it is a part of the solution for Issue #184 . Then there is the issue #389 that addresses the other half of the #184 issue.
Hey @paullen, thanks for this PR!
I think this is a good addition, can we just add a test case similar to this one that tests that the suggestions get properly populated into an error from a call to fx.Invoke
?
@JacobOaks Added test cases, the test coverage is now 99%, up from 98.3%. Please review. Thanks!
Merging #390 (a5d35dc) into master (a30081d) will increase coverage by
0.01%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #390 +/- ##
==========================================
+ Coverage 98.39% 98.40% +0.01%
==========================================
Files 22 22
Lines 1492 1502 +10
==========================================
+ Hits 1468 1478 +10
Misses 15 15
Partials 9 9
Files Changed | Coverage Δ | |
---|---|---|
error.go | 100.00% <100.00%> (ø) |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Changes:
Added suggestions for requesting slice/array of pointers instead of the elements and vice versa