#8 FileAssert.assertBinaryEquals bug

Latest_release
open
nobody
5
2004-04-21
2004-04-21
No

When the difference is beyond the first 8192 bytes,
this method does not find it.
There is a spurious "return;" at line 258
(after "pos += expBuff.length;")

Discussion

  • Logged In: YES
    user_id=367256

    Another problem: expLength == 0 is not the right end test
    when the files are equal. The right test is expLength <= 0.

     
  • correctly tested proposed fix

     
    Attachments