Skip to content

Commit b5e9460

Browse files
committed
Test result that was missing is now found
1 parent ffad5ea commit b5e9460

File tree

2 files changed

+2
-2
lines changed
  • go/ql/test/library-tests/semmle/go/dataflow

2 files changed

+2
-2
lines changed

go/ql/test/library-tests/semmle/go/dataflow/ExternalTaintFlow/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func simpleflow() {
158158
ch := make(chan string)
159159
ch <- a.Src1().(string)
160160
taint16 := test.StepArgCollectionContentRes(ch)
161-
b.Sink1(taint16) // $ MISSING: hasTaintFlow="taint16" // currently fails due to lack of post-update nodes after send statements
161+
b.Sink1(taint16) // $ hasTaintFlow="taint16"
162162

163163
c1 := test.C{""}
164164
c1.Set(a.Src1().(string))

go/ql/test/library-tests/semmle/go/dataflow/ExternalValueFlow/test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func simpleflow() {
158158
ch := make(chan string)
159159
ch <- a.Src1().(string)
160160
taint16 := test.StepArgCollectionContentRes(ch)
161-
b.Sink1(taint16) // $ MISSING: hasValueFlow="taint16" // currently fails due to lack of post-update nodes after send statements
161+
b.Sink1(taint16) // $ hasValueFlow="taint16"
162162

163163
c1 := test.C{""}
164164
c1.Set(a.Src1().(string))

0 commit comments

Comments
 (0)