Skip to content

Commit 2c14c74

Browse files
committed
test(cpp): remove invalid balxml encoder taint assertion
Encoding into a tainted stream does not taint the const input object. Remove the incorrect positive assertion, restoring agreement with the existing flow and step expectations.
1 parent e29add6 commit 2c14c74

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • cpp/ql/test/library-tests/dataflow/external-models

‎cpp/ql/test/library-tests/dataflow/external-models/bal.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ void test_balxml_encode_ostream_return_from_stream() {
402402
BloombergLP::balxml::Encoder encoder;
403403
bsl::ostream &r = encoder.encode(*os, obj);
404404
sink(*(char *)&r); // $ ir
405-
sink(obj); // $ ir
406405
}
407406

408407
void test_balxml_encodeToStream() {

0 commit comments

Comments
 (0)