Skip to content

Commit 8e918b5

Browse files
committed
fix:remove ut
1 parent dcf84b1 commit 8e918b5

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

lang/parse_test.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package lang
1919
import (
2020
"context"
2121
"encoding/json"
22-
"github.com/cloudwego/abcoder/lang/utils"
2322
"io"
2423
"os"
2524
"path/filepath"
@@ -156,20 +155,3 @@ func TestParser_NodeFieldsConsistency(t *testing.T) {
156155
checkRepoConsistency(t, lang, &repo, testCase)
157156
}
158157
}
159-
160-
func TestParser_Java_Init(t *testing.T) {
161-
javaTestCase := "/Users/bytedance/GolandProjects/abcoder/testdata/java/4_cxf-spring-boot-starter"
162-
options := defaultOptions("java")
163-
options.Verbose = false
164-
options.LspOptions = map[string]string{}
165-
repobytes, err := Parse(context.Background(), javaTestCase, options)
166-
if err != nil || len(repobytes) == 0 {
167-
t.Fatalf("format: Parse() failed: %v", err)
168-
}
169-
170-
filePath := "/Users/bytedance/GolandProjects/abcoder/testdata/asts/travel-hotel.json"
171-
//filePath := "/Users/bytedance/GolandProjects/abcoder/testdata/asts/mybatis-3.json"
172-
if err := utils.MustWriteFile(filePath, repobytes); err != nil {
173-
t.Fatalf("format: Failed to write output: %v\n", err)
174-
}
175-
}

0 commit comments

Comments
 (0)