Skip to content

Commit be883ad

Browse files
authored
fix(rust): Update naming of the DB source
1 parent 5c65641 commit be883ad

File tree

1 file changed

+3
-3
lines changed
  • rust/ql/test/library-tests/frameworks/postgres

1 file changed

+3
-3
lines changed

rust/ql/test/library-tests/frameworks/postgres/Postgres.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ module PostgresTest implements TestSig {
1515
value = ""
1616
)
1717
or
18-
exists(ModeledDatabaseSource sink |
19-
location = sink.getLocation() and
18+
exists(ModeledDatabaseSource source |
19+
location = source.getLocation() and
2020
location.getFile().getBaseName() != "" and
21-
element = sink.toString() and
21+
element = source.toString() and
2222
tag = "database-read" and
2323
value = ""
2424
)

0 commit comments

Comments
 (0)