uber-go / nilaway

Static analysis tool to detect potential nil panics in Go code
Apache License 2.0
3.19k stars 66 forks source link

Rename `testing` test package to `trustedfunc` package #282

Closed yuxincs closed 1 month ago

yuxincs commented 2 months ago

This PR does a simple rename for the test package since it now hosts test code for more than testing, it contains test code for all modeled (trusted) functions.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.66%. Comparing base (a7a5ca9) to head (0c0c648). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #282 +/- ## ======================================= Coverage 87.66% 87.66% ======================================= Files 66 66 Lines 7943 7943 ======================================= Hits 6963 6963 Misses 798 798 Partials 182 182 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Golden Test

[!NOTE]
✅ NilAway errors reported on standard libraries are identical.

3263 errors on base branch (main, a7a5ca9) 3263 errors on test branch (c759f98)