Skip to content

Commit 7d0b0a6

Browse files
ldezbkielbasa
authored andcommitted
fix: update tests
1 parent 23a13b5 commit 7d0b0a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

testdata/src/avg/tests_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package avg // want "the average complexity for the package avg"
1+
package avg // want "the average complexity for the package avg is 10.000000, max is 5.000000"
22

33
func complexityIs10() {
44
i := 1

testdata/src/p/p.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package p
22

33
import "testing"
44

5-
func TestIfTestFunctionsArentSkipped(t *testing.T) { // want "calculated cyclomatic complexity for function"
5+
func TestIfTestFunctionsArentSkipped(t *testing.T) { // want "calculated cyclomatic complexity for function TestIfTestFunctionsArentSkipped is 11, max is 10"
66
i := 1
77
if i > 2 {
88
if i > 2 {

0 commit comments

Comments
 (0)