Java: add test case for yml model

This commit is contained in:
Jami Cogswell
2023-04-01 15:05:09 -04:00
parent 6b695434b7
commit 01dd2647d4

View File

@@ -44,6 +44,9 @@ public class Test {
Exception e4 = new IllegalStateException((String)source());
sink((String)e4.getMessage()); // $hasValueFlow
Exception e5 = new UnsupportedOperationException((String)source());
sink((String)e5.getMessage()); // $hasValueFlow
Throwable t = new Throwable((Throwable)source());
sink((Throwable)t.getCause()); // $hasValueFlow