Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Oct 4, 2023
1 parent ebe05fa commit f3f325b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/function/api_stat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestStat(t *testing.T) {
assert.NotEmpty(t, fg.Cache)

t.Run("stat", func(t *testing.T) {
ptr, err := fg.GetById("graph/function/graph.go:#216-#222:function||CreateFuncGraphFromDirWithLSIF|string,string,core.LangType|*Graph,error")
ptr, err := fg.GetById("graph/function/graph.go:#160-#166:function||CreateFuncGraphFromDirWithLSIF|string,string,core.LangType|*Graph,error")
assert.Nil(t, err)
stat := fg.GlobalStat([]*Vertex{ptr})
assert.NotEmpty(t, stat)
Expand Down

0 comments on commit f3f325b

Please sign in to comment.