Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 5a9b8a5

Browse files
author
Sauyon Lee
committed
Autoformat
1 parent 80c2fcd commit 5a9b8a5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ abstract private class Expectation extends FailureLocatable {
242242

243243
override string toString() { result = comment.toString() }
244244

245-
override predicate hasLocation(string file, int line) { comment.hasLocationInfo(file, line, _, _, _) }
245+
override predicate hasLocation(string file, int line) {
246+
comment.hasLocationInfo(file, line, _, _, _)
247+
}
246248
}
247249

248250
private class ValidExpectation extends Expectation, TValidExpectation {

ql/test/library-tests/semmle/go/GoModExpr/GoModExprs.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ predicate repmetadata(Locatable l, string mod, string dep, string dver, string r
6161
)
6262
}
6363

64-
query predicate missingReplace(string mod, string dep, string dver, string rep, string rver, int line) {
64+
query predicate missingReplace(
65+
string mod, string dep, string dver, string rep, string rver, int line
66+
) {
6567
exists(Locatable l | repmetadata(l, mod, dep, dver, rep, rver) |
6668
l.hasLocationInfo(_, line, _, _, _)
6769
) and

0 commit comments

Comments
 (0)