diff --git a/src/dataMigrate_test.go b/src/dataMigrate_test.go index cf36f7e..87361e6 100644 --- a/src/dataMigrate_test.go +++ b/src/dataMigrate_test.go @@ -83,7 +83,7 @@ var ( func TestMain(m *testing.M) { fmt.Println("begin") logger = NewLogger() - defer logger.close() + defer logger.Close() m.Run() fmt.Println("end") }