mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
C#/Java: Update model generation expected output.
This commit is contained in:
@@ -25,7 +25,7 @@ public class NewSinks
|
||||
public static void NoSink(object o) => throw null;
|
||||
|
||||
// Sink and Source defined in the extensible file next to the sink test.
|
||||
// MISSING SINK
|
||||
// sink=Sinks;NewSinks;false;SaveAndGet;(System.Object);;Argument[0];test-sink;df-generated
|
||||
// neutral=Sinks;NewSinks;SaveAndGet;(System.Object);summary;df-generated
|
||||
public static object SaveAndGet(object o)
|
||||
{
|
||||
|
||||
@@ -26,7 +26,7 @@ public class Sinks {
|
||||
public void nosink(Object o) {}
|
||||
|
||||
// Sink and Source defined in the extensible file next to the sink test.
|
||||
// MISSING SINK
|
||||
// sink=p;Sinks;true;saveAndGet;(Object);;Argument[0];test-sink;df-generated
|
||||
// neutral=p;Sinks;saveAndGet;(Object);summary;df-generated
|
||||
public Object saveAndGet(Object o) {
|
||||
sink(o);
|
||||
|
||||
Reference in New Issue
Block a user