Skip to content

Commit 5d93ed5

Browse files
committed
Remove redundant term
It's hard to tell what the original intention was, but I don't think the location of qs should be the same as the location of q, so this term is redundant.
1 parent 34bca06 commit 5d93ed5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

go/ql/test/library-tests/semmle/go/frameworks/SQL/QueryString.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ class SqlTest extends InlineExpectationsTest {
1111
exists(SQL::Query q, SQL::QueryString qs | qs = q.getAQueryString() |
1212
q.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
1313
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
14-
qs.hasLocationInfo(_, _, _, _, _) and
1514
element = q.toString() and
1615
value = qs.toString()
1716
)

0 commit comments

Comments
 (0)