Skip to content

Commit b3b9406

Browse files
committed
Python: Update test
1 parent 953461d commit b3b9406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/test/experimental/library-tests/CallGraph/InlineCallGraphTest.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ string getCallEdgeValue(CallNode call, Function target) {
6565
else
6666
exists(string fixedRelativePath |
6767
fixedRelativePath =
68-
target.getLocation().getFile().getRelativePath().regexpCapture(".*/CallGraph[^/]*/(.*)", 1)
68+
target.getLocation().getFile().getAbsolutePath().regexpCapture(".*/CallGraph[^/]*/(.*)", 1)
6969
|
7070
// the value needs to be enclosed in quotes to allow special characters
7171
result = "\"" + fixedRelativePath + ":" + betterQualName(target) + "\""

0 commit comments

Comments
 (0)