We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74448c0 commit a6480a4Copy full SHA for a6480a4
go/ql/test/library-tests/semmle/go/dataflow/MapReadsAndStores/test.go
@@ -17,9 +17,9 @@ func main() {
17
}
18
19
func testLiteral() {
20
- someMap := map[string]string{"someKey": source()}
+ someMap := map[string]string{"someKey": source()}
21
22
- for _, val := range someMap {
23
- sink(val) // $ hasValueFlow="val"
24
- }
+ for _, val := range someMap {
+ sink(val) // $ hasValueFlow="val"
+ }
25
0 commit comments