Skip to content

Commit 12ca1f0

Browse files
artem-smotrakovsmowton
authored andcommitted
Fixed library-tests/frameworks/guava/handwritten/flow.ql
1 parent 52b7fbf commit 12ca1f0

File tree

1 file changed

+2
-2
lines changed
  • java/ql/test/library-tests/frameworks/guava/handwritten

1 file changed

+2
-2
lines changed

java/ql/test/library-tests/frameworks/guava/handwritten/TestIO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void test3() throws IOException {
9494
sink(ByteStreams.newDataInput(btaint())); // $numTaintFlow=1
9595
sink(ByteStreams.newDataInput(btaint(), 0)); // $numTaintFlow=1
9696
sink(ByteStreams.newDataInput(btaint())); // $numTaintFlow=1
97-
sink(ByteStreams.newDataInput(btaint()).readLine()); // $ MISSING:numTaintFlow=1
97+
sink(ByteStreams.newDataInput(btaint()).readLine()); // $numTaintFlow=1
9898
sink(ByteStreams.newDataInput(new ByteArrayInputStream(btaint()))); // $numTaintFlow=1
9999
ByteArrayOutputStream out = new ByteArrayOutputStream();
100100
out.write(btaint());
@@ -136,6 +136,6 @@ void test6() throws IOException {
136136
new CountingInputStream(itaint()).read(buf, 0, 42);
137137
sink(buf); // $numTaintFlow=1
138138
sink(new LittleEndianDataInputStream(itaint())); // $numTaintFlow=1
139-
sink(new LittleEndianDataInputStream(itaint()).readUTF()); // $ MISSING:numTaintFlow=1
139+
sink(new LittleEndianDataInputStream(itaint()).readUTF()); // $numTaintFlow=1
140140
}
141141
}

0 commit comments

Comments
 (0)