refactor: remove unused log

上级 79240185
......@@ -101,12 +101,6 @@ func TestAnnotation(t *testing.T) {
g.Expect(len(callNodes[0].Annotations)).To(Equal(0))
g.Expect(methodMap["macOsXPositiveTest"].Name).To(Equal("macOsXPositiveTest"))
for _, call := range methodMap["macOsXPositiveTest"].MethodCalls {
fmt.Println(call.Class)
}
g.Expect(true).To(Equal(true))
}
func Test_ShouldHaveOnlyOneAnnotation(t *testing.T) {
......
package bs
import (
"fmt"
. "github.com/onsi/gomega"
"path/filepath"
"testing"
......@@ -44,7 +43,6 @@ func TestBadSmellApp_LongMethod(t *testing.T) {
bs := bsApp.AnalysisPath(codePath)
bsList := bsApp.FilterBadSmell(bs, nil)
fmt.Println(bsList)
g.Expect(len(bsList)).To(Equal(2))
g.Expect(bsList[0].Bs).To(Equal("longMethod"))
g.Expect(bsList[1].Bs).To(Equal("refusedBequest"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册