Swashbuckle.Tests/Swagger/XmlTextHelperTests.cs
/// <summary>
/// This particular test ensures leading whitespace is consistent over _all_ lines
/// </summary>
This particular test ensures leading whitespace is consistent over _all_ lines
This particular test ensures leading whitespace is consistent over _all_ lines
[Test]
        public void XmlComment_detects_consistent_tab_indendation()
        {
            string input = @"
	Tab Indentation Line 1
	Tab Indentation Line 2
    Misplaced Space Indentation
	Tab Indentation Line 4
";
            string expected =
@"	Tab Indentation Line 1
	Tab Indentation Line 2
    Misplaced Space Indentation
	Tab Indentation Line 4";
            string actual = XmlTextHelper.NormalizeIndentation(input);
            Assert.AreEqual(expected, actual);
        }
[ Test ] public void XmlComment_detects_consistent_tab_indendation ( ) { string input = @"
	Tab Indentation Line 1
	Tab Indentation Line 2
    Misplaced Space Indentation
	Tab Indentation Line 4
" ; string expected = @"	Tab Indentation Line 1
	Tab Indentation Line 2
    Misplaced Space Indentation
	Tab Indentation Line 4" ; string actual = XmlTextHelper . NormalizeIndentation ( input ) ; Assert . AreEqual ( expected , actual ) ; }
This particular test ensures leading whitespace is consistent over _all_ lines
This particular test ensures leading whitespace is consistent over _all_ lines