craigwblake/redline — pull request #56 by mrmanc (2014-10-13 16:59:08+00:00)
Title: Testing file modes are correct in Format.toString()

This PR is a change to an existing test to check that the file modes are reported correctly in the Format.toString() method. This test currently fails… I’ve put the actual result in a comment for clarity—it looks like the bytes for each file mode might be being read incorrectly. This relates to issue #55.

I’d love to make the change but I’ve struggled to work out where the problem is—my guess is that the bytes for the mode are not actually stored as ByteBuffer.toShort() is expecting.