Last active
January 15, 2025 16:16
-
-
Save pwelter34/b41d590d600ea952655ddc2067367063 to your computer and use it in GitHub Desktop.
Regex Replacement for FluentAssertions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([\w._]+)\.Should\(\)\.NotBeNull\(\) | |
Assert.NotNull($1) | |
([\w._]+)\.Should\(\)\.NotBeEmpty\(\) | |
Assert.NotEmpty($1) | |
([\w.!_]+)\.Should\(\)\.Be\(([\w.!_" ]+)\) | |
Assert.Equal($2, $1) | |
([\w._]+)\.Should\(\)\.BeTrue\(\) | |
Assert.True($1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment