Skip to content

Commit

Permalink
Fix : Addressing compile-time issue. #375
Browse files Browse the repository at this point in the history
  • Loading branch information
Pressacco committed Jan 18, 2025
1 parent 4dc8496 commit 0fc05da
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void Clear_LineNumberIsOutsideOfRegion_ReturnsFalseAndKeepsRegions()

// Assert
wasCleared.Should().BeFalse();
_regionManager.Bookends.Length.Should().Be(1);
_regionManager.Regions.Length.Should().Be(1);
}

[TestMethod]
Expand All @@ -127,9 +127,9 @@ public void CreateFromSelection_LineNumberIsOutsideOfBookend_ReturnsFalseAndKeep
_regionManager.CreateFromSelection();

// Assert
_regionManager.Bookends.Length.Should().Be(1);
_regionManager.Bookends[0].Minimum.LineNumber.Should().Be(16);
_regionManager.Bookends[0].Maximum.LineNumber.Should().Be(32);
_regionManager.Regions.Length.Should().Be(1);
_regionManager.Regions[0].Minimum.LineNumber.Should().Be(16);
_regionManager.Regions[0].Maximum.LineNumber.Should().Be(32);
}
}
}

0 comments on commit 0fc05da

Please sign in to comment.