Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: VerifyTests/Verify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 21.3.0
Choose a base ref
...
head repository: VerifyTests/Verify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 22.0.0
Choose a head ref
  • 9 commits
  • 215 files changed
  • 2 contributors

Commits on Sep 28, 2023

  1. docs

    SimonCropp committed Sep 28, 2023
    Copy the full SHA
    0ebf92a View commit details
  2. cleanup

    SimonCropp committed Sep 28, 2023
    Copy the full SHA
    987fc2b View commit details

Commits on Sep 29, 2023

  1. Update readme.source.md

    SimonCropp committed Sep 29, 2023
    Copy the full SHA
    d1038c0 View commit details
  2. Update readme.source.md

    SimonCropp committed Sep 29, 2023
    Copy the full SHA
    1d758ed View commit details

Commits on Sep 30, 2023

  1. cleanup

    SimonCropp committed Sep 30, 2023
    Copy the full SHA
    8c63b25 View commit details

Commits on Oct 2, 2023

  1. Copy the full SHA
    af06894 View commit details

Commits on Oct 3, 2023

  1. Copy the full SHA
    8d1932c View commit details

Commits on Oct 5, 2023

  1. refs

    SimonCropp committed Oct 5, 2023
    Copy the full SHA
    b35f758 View commit details
  2. Copy the full SHA
    a2e180c View commit details
Showing with 530 additions and 369 deletions.
  1. +2 −2 docs/named-tuples.md
  2. +6 −6 docs/scrubbers.md
  3. +43 −43 docs/serializer-settings.md
  4. +1 −1 docs/wiz/Linux_Other_Gui_Expecto_AppVeyor.md
  5. +1 −1 docs/wiz/Linux_Other_Gui_Expecto_AzureDevOps.md
  6. +1 −1 docs/wiz/Linux_Other_Gui_Expecto_GitHubActions.md
  7. +1 −1 docs/wiz/Linux_Other_Gui_Expecto_None.md
  8. +1 −1 docs/wiz/Linux_Other_Gui_MSTest_AppVeyor.md
  9. +1 −1 docs/wiz/Linux_Other_Gui_MSTest_AzureDevOps.md
  10. +1 −1 docs/wiz/Linux_Other_Gui_MSTest_GitHubActions.md
  11. +1 −1 docs/wiz/Linux_Other_Gui_MSTest_None.md
  12. +1 −1 docs/wiz/Linux_Other_Gui_NUnit_AppVeyor.md
  13. +1 −1 docs/wiz/Linux_Other_Gui_NUnit_AzureDevOps.md
  14. +1 −1 docs/wiz/Linux_Other_Gui_NUnit_GitHubActions.md
  15. +1 −1 docs/wiz/Linux_Other_Gui_NUnit_None.md
  16. +1 −1 docs/wiz/Linux_Other_Gui_xUnit_AppVeyor.md
  17. +1 −1 docs/wiz/Linux_Other_Gui_xUnit_AzureDevOps.md
  18. +1 −1 docs/wiz/Linux_Other_Gui_xUnit_GitHubActions.md
  19. +1 −1 docs/wiz/Linux_Other_Gui_xUnit_None.md
  20. +1 −1 docs/wiz/Linux_Rider_Gui_Expecto_AppVeyor.md
  21. +1 −1 docs/wiz/Linux_Rider_Gui_Expecto_AzureDevOps.md
  22. +1 −1 docs/wiz/Linux_Rider_Gui_Expecto_GitHubActions.md
  23. +1 −1 docs/wiz/Linux_Rider_Gui_Expecto_None.md
  24. +1 −1 docs/wiz/Linux_Rider_Gui_MSTest_AppVeyor.md
  25. +1 −1 docs/wiz/Linux_Rider_Gui_MSTest_AzureDevOps.md
  26. +1 −1 docs/wiz/Linux_Rider_Gui_MSTest_GitHubActions.md
  27. +1 −1 docs/wiz/Linux_Rider_Gui_MSTest_None.md
  28. +1 −1 docs/wiz/Linux_Rider_Gui_NUnit_AppVeyor.md
  29. +1 −1 docs/wiz/Linux_Rider_Gui_NUnit_AzureDevOps.md
  30. +1 −1 docs/wiz/Linux_Rider_Gui_NUnit_GitHubActions.md
  31. +1 −1 docs/wiz/Linux_Rider_Gui_NUnit_None.md
  32. +1 −1 docs/wiz/Linux_Rider_Gui_xUnit_AppVeyor.md
  33. +1 −1 docs/wiz/Linux_Rider_Gui_xUnit_AzureDevOps.md
  34. +1 −1 docs/wiz/Linux_Rider_Gui_xUnit_GitHubActions.md
  35. +1 −1 docs/wiz/Linux_Rider_Gui_xUnit_None.md
  36. +1 −1 docs/wiz/MacOS_Other_Gui_Expecto_AppVeyor.md
  37. +1 −1 docs/wiz/MacOS_Other_Gui_Expecto_AzureDevOps.md
  38. +1 −1 docs/wiz/MacOS_Other_Gui_Expecto_GitHubActions.md
  39. +1 −1 docs/wiz/MacOS_Other_Gui_Expecto_None.md
  40. +1 −1 docs/wiz/MacOS_Other_Gui_MSTest_AppVeyor.md
  41. +1 −1 docs/wiz/MacOS_Other_Gui_MSTest_AzureDevOps.md
  42. +1 −1 docs/wiz/MacOS_Other_Gui_MSTest_GitHubActions.md
  43. +1 −1 docs/wiz/MacOS_Other_Gui_MSTest_None.md
  44. +1 −1 docs/wiz/MacOS_Other_Gui_NUnit_AppVeyor.md
  45. +1 −1 docs/wiz/MacOS_Other_Gui_NUnit_AzureDevOps.md
  46. +1 −1 docs/wiz/MacOS_Other_Gui_NUnit_GitHubActions.md
  47. +1 −1 docs/wiz/MacOS_Other_Gui_NUnit_None.md
  48. +1 −1 docs/wiz/MacOS_Other_Gui_xUnit_AppVeyor.md
  49. +1 −1 docs/wiz/MacOS_Other_Gui_xUnit_AzureDevOps.md
  50. +1 −1 docs/wiz/MacOS_Other_Gui_xUnit_GitHubActions.md
  51. +1 −1 docs/wiz/MacOS_Other_Gui_xUnit_None.md
  52. +1 −1 docs/wiz/MacOS_Rider_Gui_Expecto_AppVeyor.md
  53. +1 −1 docs/wiz/MacOS_Rider_Gui_Expecto_AzureDevOps.md
  54. +1 −1 docs/wiz/MacOS_Rider_Gui_Expecto_GitHubActions.md
  55. +1 −1 docs/wiz/MacOS_Rider_Gui_Expecto_None.md
  56. +1 −1 docs/wiz/MacOS_Rider_Gui_MSTest_AppVeyor.md
  57. +1 −1 docs/wiz/MacOS_Rider_Gui_MSTest_AzureDevOps.md
  58. +1 −1 docs/wiz/MacOS_Rider_Gui_MSTest_GitHubActions.md
  59. +1 −1 docs/wiz/MacOS_Rider_Gui_MSTest_None.md
  60. +1 −1 docs/wiz/MacOS_Rider_Gui_NUnit_AppVeyor.md
  61. +1 −1 docs/wiz/MacOS_Rider_Gui_NUnit_AzureDevOps.md
  62. +1 −1 docs/wiz/MacOS_Rider_Gui_NUnit_GitHubActions.md
  63. +1 −1 docs/wiz/MacOS_Rider_Gui_NUnit_None.md
  64. +1 −1 docs/wiz/MacOS_Rider_Gui_xUnit_AppVeyor.md
  65. +1 −1 docs/wiz/MacOS_Rider_Gui_xUnit_AzureDevOps.md
  66. +1 −1 docs/wiz/MacOS_Rider_Gui_xUnit_GitHubActions.md
  67. +1 −1 docs/wiz/MacOS_Rider_Gui_xUnit_None.md
  68. +1 −1 docs/wiz/Windows_Other_Gui_Expecto_AppVeyor.md
  69. +1 −1 docs/wiz/Windows_Other_Gui_Expecto_AzureDevOps.md
  70. +1 −1 docs/wiz/Windows_Other_Gui_Expecto_GitHubActions.md
  71. +1 −1 docs/wiz/Windows_Other_Gui_Expecto_None.md
  72. +1 −1 docs/wiz/Windows_Other_Gui_MSTest_AppVeyor.md
  73. +1 −1 docs/wiz/Windows_Other_Gui_MSTest_AzureDevOps.md
  74. +1 −1 docs/wiz/Windows_Other_Gui_MSTest_GitHubActions.md
  75. +1 −1 docs/wiz/Windows_Other_Gui_MSTest_None.md
  76. +1 −1 docs/wiz/Windows_Other_Gui_NUnit_AppVeyor.md
  77. +1 −1 docs/wiz/Windows_Other_Gui_NUnit_AzureDevOps.md
  78. +1 −1 docs/wiz/Windows_Other_Gui_NUnit_GitHubActions.md
  79. +1 −1 docs/wiz/Windows_Other_Gui_NUnit_None.md
  80. +1 −1 docs/wiz/Windows_Other_Gui_xUnit_AppVeyor.md
  81. +1 −1 docs/wiz/Windows_Other_Gui_xUnit_AzureDevOps.md
  82. +1 −1 docs/wiz/Windows_Other_Gui_xUnit_GitHubActions.md
  83. +1 −1 docs/wiz/Windows_Other_Gui_xUnit_None.md
  84. +1 −1 docs/wiz/Windows_Rider_Gui_Expecto_AppVeyor.md
  85. +1 −1 docs/wiz/Windows_Rider_Gui_Expecto_AzureDevOps.md
  86. +1 −1 docs/wiz/Windows_Rider_Gui_Expecto_GitHubActions.md
  87. +1 −1 docs/wiz/Windows_Rider_Gui_Expecto_None.md
  88. +1 −1 docs/wiz/Windows_Rider_Gui_MSTest_AppVeyor.md
  89. +1 −1 docs/wiz/Windows_Rider_Gui_MSTest_AzureDevOps.md
  90. +1 −1 docs/wiz/Windows_Rider_Gui_MSTest_GitHubActions.md
  91. +1 −1 docs/wiz/Windows_Rider_Gui_MSTest_None.md
  92. +1 −1 docs/wiz/Windows_Rider_Gui_NUnit_AppVeyor.md
  93. +1 −1 docs/wiz/Windows_Rider_Gui_NUnit_AzureDevOps.md
  94. +1 −1 docs/wiz/Windows_Rider_Gui_NUnit_GitHubActions.md
  95. +1 −1 docs/wiz/Windows_Rider_Gui_NUnit_None.md
  96. +1 −1 docs/wiz/Windows_Rider_Gui_xUnit_AppVeyor.md
  97. +1 −1 docs/wiz/Windows_Rider_Gui_xUnit_AzureDevOps.md
  98. +1 −1 docs/wiz/Windows_Rider_Gui_xUnit_GitHubActions.md
  99. +1 −1 docs/wiz/Windows_Rider_Gui_xUnit_None.md
  100. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_Expecto_AppVeyor.md
  101. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_Expecto_AzureDevOps.md
  102. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_Expecto_GitHubActions.md
  103. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_Expecto_None.md
  104. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AppVeyor.md
  105. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_AzureDevOps.md
  106. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_GitHubActions.md
  107. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_MSTest_None.md
  108. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AppVeyor.md
  109. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_AzureDevOps.md
  110. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_GitHubActions.md
  111. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_NUnit_None.md
  112. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_xUnit_AppVeyor.md
  113. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_xUnit_AzureDevOps.md
  114. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_xUnit_GitHubActions.md
  115. +1 −1 docs/wiz/Windows_VisualStudioWithReSharper_Gui_xUnit_None.md
  116. +1 −1 docs/wiz/Windows_VisualStudio_Gui_Expecto_AppVeyor.md
  117. +1 −1 docs/wiz/Windows_VisualStudio_Gui_Expecto_AzureDevOps.md
  118. +1 −1 docs/wiz/Windows_VisualStudio_Gui_Expecto_GitHubActions.md
  119. +1 −1 docs/wiz/Windows_VisualStudio_Gui_Expecto_None.md
  120. +1 −1 docs/wiz/Windows_VisualStudio_Gui_MSTest_AppVeyor.md
  121. +1 −1 docs/wiz/Windows_VisualStudio_Gui_MSTest_AzureDevOps.md
  122. +1 −1 docs/wiz/Windows_VisualStudio_Gui_MSTest_GitHubActions.md
  123. +1 −1 docs/wiz/Windows_VisualStudio_Gui_MSTest_None.md
  124. +1 −1 docs/wiz/Windows_VisualStudio_Gui_NUnit_AppVeyor.md
  125. +1 −1 docs/wiz/Windows_VisualStudio_Gui_NUnit_AzureDevOps.md
  126. +1 −1 docs/wiz/Windows_VisualStudio_Gui_NUnit_GitHubActions.md
  127. +1 −1 docs/wiz/Windows_VisualStudio_Gui_NUnit_None.md
  128. +1 −1 docs/wiz/Windows_VisualStudio_Gui_xUnit_AppVeyor.md
  129. +1 −1 docs/wiz/Windows_VisualStudio_Gui_xUnit_AzureDevOps.md
  130. +1 −1 docs/wiz/Windows_VisualStudio_Gui_xUnit_GitHubActions.md
  131. +1 −1 docs/wiz/Windows_VisualStudio_Gui_xUnit_None.md
  132. +4 −2 readme.md
  133. +4 −2 readme.source.md
  134. +5 −3 src/.editorconfig
  135. +1 −1 src/ApplyScrubbersTests/ApplyScrubbersTests.csproj
  136. +1 −1 src/AutoVerifyTests/AutoVerifyTests.csproj
  137. +1 −1 src/DeterministicTests/DeterministicTests.csproj
  138. +1 −1 src/Directory.Build.props
  139. +1 −1 src/DisableDirScrubbing/DisableDirScrubbing.csproj
  140. +1 −1 src/NugetUsage/ExpectoNugetUsage/ExpectoNugetUsage.fsproj
  141. +1 −1 src/NugetUsage/MSTestNugetUsage/MSTestNugetUsage.csproj
  142. +1 −1 src/NugetUsage/NUnitNugetUsage/NUnitNugetUsage.csproj
  143. +1 −1 src/NugetUsage/XunitNugetUsage/XunitNugetUsage.csproj
  144. +1 −1 src/OmitContentFromException/OmitContentFromException.csproj
  145. +1 −1 src/SingleTfmTests/SingleTfmTests.csproj
  146. +1 −1 src/SortedJsonTest/SortedJsonTest.csproj
  147. +1 −1 src/SortedPropertiesTests/SortedPropertiesTests.csproj
  148. +1 −1 src/SplitUniqueDirectoryMode/SplitUniqueDirectoryMode.csproj
  149. +5 −0 src/StrictJsonTests/SerializationTests.EnumerableOrder.verified.json
  150. +5 −0 src/StrictJsonTests/SerializationTests.EnumerableOrderFluent.verified.json
  151. +5 −0 src/StrictJsonTests/SerializationTests.OrderEnumerableByDescending.verified.json
  152. +5 −0 src/StrictJsonTests/SerializationTests.OrderEnumerableByDescendingFluent.verified.json
  153. +11 −0 src/StrictJsonTests/SerializationTests.OrderEnumerableByDescendingGlobal.verified.json
  154. +11 −0 src/StrictJsonTests/SerializationTests.OrderEnumerableByGlobal.verified.json
  155. +1 −1 src/StrictJsonTests/StrictJsonTests.csproj
  156. +1 −1 src/Verify.ApprovalTestsTransition/Verify.ApprovalTestsTransition.csproj
  157. +1 −1 src/Verify.ClipboardAccept.Tests/Verify.ClipboardAccept.Tests.csproj
  158. +1 −1 src/Verify.ClipboardAccept/Verify.ClipboardAccept.csproj
  159. +1 −1 src/Verify.ExceptionParsing.Tests/Verify.ExceptionParsing.Tests.csproj
  160. +2 −2 src/Verify.ExceptionParsing/Verify.ExceptionParsing.csproj
  161. +1 −1 src/Verify.Expecto.DerivePaths.Tests/Verify.Expecto.DerivePaths.Tests.csproj
  162. +1 −1 src/Verify.Expecto.Tests/Verify.Expecto.Tests.csproj
  163. +1 −1 src/Verify.Expecto/Verify.Expecto.csproj
  164. +1 −1 src/Verify.MSTest.DerivePaths.Tests/Verify.MSTest.DerivePaths.Tests.csproj
  165. +1 −1 src/Verify.MSTest.Tests/Verify.MSTest.Tests.csproj
  166. +1 −1 src/Verify.MSTest/Verify.MSTest.csproj
  167. +1 −1 src/Verify.NUnit.DerivePaths.Tests/Verify.NUnit.DerivePaths.Tests.csproj
  168. +1 −1 src/Verify.NUnit.Tests/Verify.NUnit.Tests.csproj
  169. +1 −1 src/Verify.NUnit/Verify.NUnit.csproj
  170. +1 −1 src/Verify.SamplePlugin/Verify.SamplePlugin.csproj
  171. +1 −1 src/Verify.Tests/CircularTests.cs
  172. +5 −0 src/Verify.Tests/Serialization/SerializationTests.EnumerableOrder.verified.txt
  173. +5 −0 src/Verify.Tests/Serialization/SerializationTests.EnumerableOrderFluent.verified.txt
  174. +5 −0 src/Verify.Tests/Serialization/SerializationTests.OrderEnumerableByDescending.verified.txt
  175. +5 −0 src/Verify.Tests/Serialization/SerializationTests.OrderEnumerableByDescendingFluent.verified.txt
  176. +11 −0 src/Verify.Tests/Serialization/SerializationTests.OrderEnumerableByDescendingGlobal.verified.txt
  177. +11 −0 src/Verify.Tests/Serialization/SerializationTests.OrderEnumerableByGlobal.verified.txt
  178. +92 −13 src/Verify.Tests/Serialization/SerializationTests.cs
  179. +1 −1 src/Verify.Tests/Verify.Tests.csproj
  180. +1 −1 src/Verify.Xunit.DerivePaths.Tests/Verify.Xunit.DerivePaths.Tests.csproj
  181. +1 −1 src/Verify.Xunit.Tests/Verify.Xunit.Tests.csproj
  182. +1 −1 src/Verify.Xunit/Verify.Xunit.csproj
  183. +5 −13 src/Verify/FilePair.cs
  184. +3 −9 src/Verify/Naming/FrameworkNameVersion.cs
  185. +1 −1 src/Verify/Naming/UniquenessList.cs
  186. +3 −9 src/Verify/Serialization/AsStringResult.cs
  187. +1 −1 src/Verify/Serialization/Converters/ClaimConverter.cs
  188. +7 −0 src/Verify/Serialization/CustomContractResolver.cs
  189. +12 −25 src/Verify/Serialization/CustomValueProvider.cs
  190. +2 −5 src/Verify/Serialization/InfoBuilder.cs
  191. +1 −1 src/Verify/Serialization/Scrubbers/ApplyScrubbers.cs
  192. +4 −4 src/Verify/Serialization/Scrubbers/SharedScrubber_Dates.cs
  193. +1 −1 src/Verify/Serialization/Scrubbers/VerifierSettings_ExtensionMappedGlobalScrubbers.cs
  194. +1 −1 src/Verify/Serialization/Scrubbers/VerifierSettings_GlobalScrubbers.cs
  195. +1 −1 src/Verify/Serialization/Scrubbers/VerifySettings_ExtensionMappedInstanceScrubbers.cs
  196. +1 −1 src/Verify/Serialization/Scrubbers/VerifySettings_InstanceScrubbers.cs
  197. +2 −1 src/Verify/Serialization/SerializationSettings.cs
  198. +13 −0 src/Verify/Serialization/SerializationSettings_EnumerableInterceptors.cs
  199. +2 −2 src/Verify/Serialization/SerializationSettings_IgnoreInstance.cs
  200. +1 −1 src/Verify/Serialization/SerializationSettings_IgnoreMembersThatThrow.cs
  201. +1 −6 src/Verify/Serialization/TypeNameProvider.cs
  202. +11 −0 src/Verify/Serialization/VerifierSettings_SerializationMaps.cs
  203. +1 −1 src/Verify/Serialization/VerifySettings.cs
  204. +12 −0 src/Verify/Serialization/VerifySettings_SerializationMaps.cs
  205. +14 −0 src/Verify/SettingsTask_SerializationMaps.cs
  206. +2 −2 src/Verify/Splitters/Settings_FileAppender.cs
  207. +1 −1 src/Verify/Splitters/Settings_JsonAppender.cs
  208. +1 −1 src/Verify/Splitters/Settings_Typed.cs
  209. +5 −13 src/Verify/Verifier/EqualityResult.cs
  210. +1 −4 src/Verify/Verifier/InnerVerifier.cs
  211. +3 −9 src/Verify/Verifier/NewResult.cs
  212. +5 −13 src/Verify/Verifier/NotEqualResult.cs
  213. +4 −4 src/Verify/Verifier/VerifyEngine.cs
  214. +3 −3 src/Verify/Verify.csproj
  215. +1 −1 src/VirtualizedRunHelperTests/VirtualizedRunHelperTests.csproj
4 changes: 2 additions & 2 deletions docs/named-tuples.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ Given a method that returns a named tuple:
static (bool Member1, string Member2, string Member3) MethodWithNamedTuple() =>
(true, "A", "B");
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1505-L1510' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1584-L1589' title='Snippet source file'>snippet source</a> | <a href='#snippet-methodwithnamedtuple' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Can be verified:
@@ -29,7 +29,7 @@ Can be verified:
```cs
await VerifyTuple(() => MethodWithNamedTuple());
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1498-L1502' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1577-L1581' title='Snippet source file'>snippet source</a> | <a href='#snippet-verifytuple' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Resulting in:
12 changes: 6 additions & 6 deletions docs/scrubbers.md
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ For example remove lines containing `text`:
```cs
verifySettings.ScrubLines(line => line.Contains("text"));
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1348-L1352' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1427-L1431' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublines' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


@@ -74,7 +74,7 @@ For example remove lines containing `text1` or `text2`
```cs
verifySettings.ScrubLinesContaining("text1", "text2");
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1354-L1358' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1433-L1437' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontaining' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

Case insensitive by default (StringComparison.OrdinalIgnoreCase).
@@ -86,7 +86,7 @@ Case insensitive by default (StringComparison.OrdinalIgnoreCase).
```cs
verifySettings.ScrubLinesContaining(StringComparison.Ordinal, "text1", "text2");
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1360-L1364' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1439-L1443' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublinescontainingordinal' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


@@ -101,7 +101,7 @@ For example converts lines to upper case:
```cs
verifySettings.ScrubLinesWithReplace(line => line.ToUpper());
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1366-L1370' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1445-L1449' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrublineswithreplace' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


@@ -114,7 +114,7 @@ Replaces `Environment.MachineName` with `TheMachineName`.
```cs
verifySettings.ScrubMachineName();
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1372-L1376' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1451-L1455' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubmachinename' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


@@ -127,7 +127,7 @@ Replaces `Environment.UserName` with `TheUserName`.
```cs
verifySettings.ScrubUserName();
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1378-L1382' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubusername' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L1457-L1461' title='Snippet source file'>snippet source</a> | <a href='#snippet-scrubusername' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Loading