Fluent Assertions Documentation
FluentAssertions.Formatting Namespace / FormattingOptions Class / MaxLines Property
In This Topic
    MaxLines Property
    In This Topic
    Sets the maximum number of lines of the failure message.
    Syntax
    public int MaxLines {get; set;}
    Remarks

    Because of technical reasons, the actual output may be one or two lines longer.

    This property is not thread-safe and should not be modified through FluentAssertions.AssertionConfiguration from within a unit test. See the docs on how to safely use it.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also