-
Notifications
You must be signed in to change notification settings - Fork 732
Breaking API changes from 7.0.0-alpha5 to 7.0.0 #2864
Description
Description
Dependabot raised FluentAssertions from 7.0.0-alpha5 to 7.0.0 (released yesterday): MeikelLP/quantum-core-x#249
Sadly many tests are failing now because the API changed back (?) to the 6.x state
Please tell me if this is a dependency issue rather than FluentAssertion itself. I can reproduce this locally
The online documentation does not mention this option either: https://fluentassertions.com/strings/
However the docs source code (develop) does list this option:
fluentassertions/docs/_pages/strings.md
Line 103 in 30c29b2
| | `IgnoringNewlineStyle` | Replaces `"\r\n"` and `"\r"` with `"\n"` before comparing the subject and expectation. | |
Reproduction Steps
var input = "My\nString";
var expected = "My\r\nString;
// Assert
input.Should().Be(expected, o => o.IgnoringNewlineStyle());Expected behavior
API from 7.0.0-alpha5 exists?
Actual behavior
Project cannot be build due to missing APIs
Regression?
Maybe?
Known Workarounds
Configuration
No response
Other information
No response
Are you willing to help with a pull-request?
Yes, please assign this issue to me.