Skip to content

Commit

Permalink
Merge pull request #180 from Visionaid-International-Ltd/fix-pr13-tes…
Browse files Browse the repository at this point in the history
…t-correctness

Fix TEST_PR_13 correctness
  • Loading branch information
ironfede authored Oct 7, 2024
2 parents 7ee006f + a313a2c commit 29143c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/Test/OpenMcdf.Test/CompoundFileTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,11 @@ public void Test_PR_13()
{
using CompoundFile cf = new("report.xls");
Guid g = cf.getGuidBySID(0);
Assert.IsNotNull(g);
Assert.AreNotEqual(Guid.Empty, g);
g = cf.getGuidForStream(3);
Assert.IsNotNull(g);
Assert.AreEqual(Guid.Empty, g);
Assert.AreNotEqual(0, cf.GetNumDirectories());
Assert.IsTrue(!string.IsNullOrEmpty(cf.GetNameDirEntry(2)));
Assert.IsTrue(cf.GetNumDirectories() > 0);
}

//[TestMethod]
Expand Down

0 comments on commit 29143c1

Please sign in to comment.