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.
This commit is contained in:
Owen Mansel-Chan
2023-02-17 21:51:43 +00:00
parent 34bca0612b
commit 5d93ed5f52

View File

@@ -11,7 +11,6 @@ class SqlTest extends InlineExpectationsTest {
exists(SQL::Query q, SQL::QueryString qs | qs = q.getAQueryString() |
q.hasLocationInfo(location.getFile().getAbsolutePath(), location.getStartLine(),
location.getStartColumn(), location.getEndLine(), location.getEndColumn()) and
qs.hasLocationInfo(_, _, _, _, _) and
element = q.toString() and
value = qs.toString()
)