Skip to content

Commit 9c48dd2

Browse files
committed
JS: Accept test changes.
1 parent 62caf4c commit 9c48dd2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎javascript/ql/test/library-tests/frameworks/NodeJSLib/stream-pipe.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ Readable.from(new Set([source("set")])).pipe(new SetDestination());
2929

3030
class MapDestination extends Writable {
3131
write(chunk) {
32-
consumeChunk(chunk[0]); // $ MISSING: flow=map-key
33-
consumeChunk(chunk[1]); // $ MISSING: flow=map-value
32+
consumeChunk(chunk[0]); // $ flow=map-key
33+
consumeChunk(chunk[1]); // $ flow=map-value
3434
consumeChunk(chunk);
3535
return true;
3636
}
3737
}
3838

3939
const iterableMap = new Map([[source("map-key"), source("map-value")]]);
4040
for (const [mapKey, mapValue] of iterableMap) {
41-
consumeChunk(mapKey); // $ MISSING: flow=map-key
42-
consumeChunk(mapValue); // $ MISSING: flow=map-value
41+
consumeChunk(mapKey); // $ flow=map-key
42+
consumeChunk(mapValue); // $ flow=map-value
4343
}
4444
Readable.from(iterableMap).pipe(new MapDestination());
4545

0 commit comments

Comments
 (0)