Closed haf closed 6 years ago
@haf sure. One thing, I think it would be better to have a signature like:
let sequenceContainsOrder actual expected message =
and in a Flip module
let sequenceContainsOrder msg expected actual = Expect.sequenceContainsOrder actual expected msg
So we would be coherent with signatures of other functions in Expecto/Flip module.
@haf I made some base work on this here I think about this a little and maybe it would be great to give an information in an error message to a client that this
and this
elements are on invalid position? Instead of a generic error message, order is wrong
or something.
Contains more explicit printing; can you do some good merge thereof?
@haf sure, will do that today :)
/cc @MNie — this is the flipped variant and without printing
al
, the iterated prefix of the actual enumerable. Would you like to add it and make sure it pretty printsal
?