jstests/noPassthrough/report_post_batch_resume_token_mongod.js
// Helper function to perform generic comparisons and dump the oplog on failure.
Helper function to perform generic comparisons and dump the oplog on failure.
Helper function to perform generic comparisons and dump the oplog on failure .
function assertCompare(cmpFn, left, right, cmpOp, cmpVal) {
    assert[cmpOp](cmpFn(left, right),
                  cmpVal,
                  {left: left, right: right, oplogEntries: oplogColl.find().toArray()});
}
function assertCompare ( cmpFn , left , right , cmpOp , cmpVal ) { assert [ cmpOp ] ( cmpFn ( left , right ) , cmpVal , { left : left , right : right , oplogEntries : oplogColl . find ( ) . toArray ( ) } ) ; }
Helper function to perform generic comparisons and dump the oplog on failure.
Helper function to perform generic comparisons and dump the oplog on failure .