From dadd1d6707ed90307ae07dccf9113ecaf9e9a554 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Thu, 16 Jan 2020 08:39:25 +0800 Subject: [PATCH] test: fix typo --- trial/pkg/application/pyapp/py_ident_app_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trial/pkg/application/pyapp/py_ident_app_test.go b/trial/pkg/application/pyapp/py_ident_app_test.go index 4881eb5..4c02481 100644 --- a/trial/pkg/application/pyapp/py_ident_app_test.go +++ b/trial/pkg/application/pyapp/py_ident_app_test.go @@ -100,6 +100,6 @@ func Test_PythonImport(t *testing.T) { codeFile := app.Analysis(string(file), "import_stmt") fmt.Println(codeFile.Imports) - g.Expect(len(codeFile.Imports)).To(Equal(8)) - g.Expect(len(codeFile.Imports[2].UsageName)).To(Equal(10)) + g.Expect(len(codeFile.Imports)).To(Equal(10)) + g.Expect(len(codeFile.Imports[2].UsageName)).To(Equal(2)) } -- GitLab