Skip to content

Commit 6f3867d

Browse files
felickzowen-mc
andauthored
stub the type Parser + the function New
(it will automatically make stubs for all the methods on that type) Co-authored-by: Owen Mansel-Chan <[email protected]>
1 parent 4c46be1 commit 6f3867d

File tree

1 file changed

+1
-1
lines changed
  • go/ql/test/query-tests/Security/CWE-643

1 file changed

+1
-1
lines changed

go/ql/test/query-tests/Security/CWE-643/tst.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ package main
1010
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xml Node
1111
//go:generate depstubber -vendor github.com/jbowtie/gokogiri/xpath "" Compile
1212
//go:generate depstubber -vendor github.com/santhosh-tekuri/xpathparser "" Parse,MustParse
13-
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser "" ParseString
13+
//go:generate depstubber -vendor github.com/lestrrat-go/libxml2/parser Parser New
1414

1515
import (
1616
"net/http"

0 commit comments

Comments
 (0)