Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored and bkielbasa committed Oct 16, 2024
1 parent 23a13b5 commit 7d0b0a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testdata/src/avg/tests_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package avg // want "the average complexity for the package avg"
package avg // want "the average complexity for the package avg is 10.000000, max is 5.000000"

func complexityIs10() {
i := 1
Expand Down
2 changes: 1 addition & 1 deletion testdata/src/p/p.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package p

import "testing"

func TestIfTestFunctionsArentSkipped(t *testing.T) { // want "calculated cyclomatic complexity for function"
func TestIfTestFunctionsArentSkipped(t *testing.T) { // want "calculated cyclomatic complexity for function TestIfTestFunctionsArentSkipped is 11, max is 10"
i := 1
if i > 2 {
if i > 2 {
Expand Down

0 comments on commit 7d0b0a6

Please sign in to comment.