Skip to content

Commit

Permalink
xbfs: Correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Aug 9, 2023
1 parent 901eee4 commit 91d7cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LibXboxOne.Tests/XbfsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void TestXbfsHeaderParsing()
public void TestXbfsHeaderRehash()
{
XbfsHeader header = GetHeader();
header.Files[0].Length = 123;
header.Files[0].BlockCount = 123;

Assert.False(header.IsHashValid);
header.Rehash();
Expand All @@ -45,7 +45,7 @@ public void TestXbfsOutOfBounds()

// Write a file entry past the known filenames array
header.Files[XbfsFile.XbfsFilenames.Length + 2] = new XbfsEntry(){
LBA=0, Length=1, Reserved=0
LBA=0, BlockCount=1, Reserved=0
};

// Call to ToString will print filenames and should
Expand Down

0 comments on commit 91d7cd1

Please sign in to comment.