Skip to content

Commit

Permalink
fix for the unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
madneal committed Jul 27, 2024
1 parent 8fc1f80 commit b9d688b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/analysis/unitchecker/unitchecker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func _() {
"findcall": \[
\{
"posn": "([/._\-a-zA-Z0-9]+[\\/]fake[\\/])?a/a.go:4:11",
"end_posn": "-",
"message": "call of MyFunc123\(...\)",
"suggested_fixes": \[
\{
Expand All @@ -130,6 +131,7 @@ func _() {
"assign": \[
\{
"posn": "([/._\-a-zA-Z0-9]+[\\/]fake[\\/])?c/c.go:5:5",
"end_posn": "-",
"message": "self-assignment of i to i",
"suggested_fixes": \[
\{
Expand Down

0 comments on commit b9d688b

Please sign in to comment.