Skip to content

Commit dbe8034

Browse files
committed
C#: Accept test results
1 parent 6c96a8d commit dbe8034

File tree

2 files changed

+154
-162
lines changed

2 files changed

+154
-162
lines changed

csharp/ql/test/library-tests/dataflow/fields/B.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ public void M1()
66
var b1 = new Box1(e, null);
77
var b2 = new Box2(b1);
88
Sink(b2.box1.elem1); // flow
9-
Sink(b2.box1.elem2); // FP due to flow in M2 below
9+
Sink(b2.box1.elem2); // no flow
1010
}
1111

1212
public void M2()
1313
{
1414
var e = new Elem();
1515
var b1 = new Box1(null, e);
1616
var b2 = new Box2(b1);
17-
Sink(b2.box1.elem1); // FP due to flow in M1 above
17+
Sink(b2.box1.elem1); // no flow
1818
Sink(b2.box1.elem2); // flow
1919
}
2020

0 commit comments

Comments
 (0)