예제 #1
0
        private static void VerifyLinePosition(
            LinePosition actual,
            LinePosition expected,
            string startOrEnd)
        {
            actual.Should().Be(expected, $"because diagnostic should ${startOrEnd} on expected line");

            actual.Character.Should().Be(expected.Character, $"because diagnostic should ${startOrEnd} at expected column");
        }