Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / IEquivalencyOptions Interface / IgnoreNewlineStyle Property
In This Topic
    IgnoreNewlineStyle Property (IEquivalencyOptions)
    In This Topic
    Gets a value indicating whether the newline style is ignored when comparing strings.
    Syntax
    bool IgnoreNewlineStyle {get;}
    Remarks
    Enabling this option will replace all occurrences of \r\n and \r with \n in the strings before comparing them.
    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