Skip to content

Commit f2222d3

Browse files
committed
QL: add test
1 parent f71359c commit f2222d3

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This should be QLDoc.
3+
*/
4+
5+
/**
6+
* this is fine
7+
*/
8+
predicate foo() { any() }
9+
10+
/* Note: this is bad. */
11+
class Foo extends string {
12+
Foo() { this = "FOo" }
13+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| Foo.qll:1:1:3:3 | BlockComment | Block comment could be QLDoc for $@. | Foo.qll:1:1:13:2 | TopLevel | the file |
2+
| Foo.qll:10:1:10:24 | BlockComment | Block comment could be QLDoc for $@. | Foo.qll:11:7:11:9 | Class Foo | the below code |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
queries/style/NonDocBlock.ql

0 commit comments

Comments
 (0)