From fd83d508b8275c438aab648d0ec00ee37daee67a Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 1 Sep 2022 14:19:11 -0500 Subject: [PATCH] update VerifierSettings usage ModifySerialization removed: https://github.com/VerifyTests/Verify/pull/533 DontScrubNumericIds removed: https://github.com/VerifyTests/Verify/pull/526 --- Corgibytes.Freshli.Lib.Test/Initializer.cs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Corgibytes.Freshli.Lib.Test/Initializer.cs b/Corgibytes.Freshli.Lib.Test/Initializer.cs index 38f77727..9ac179b5 100644 --- a/Corgibytes.Freshli.Lib.Test/Initializer.cs +++ b/Corgibytes.Freshli.Lib.Test/Initializer.cs @@ -10,17 +10,13 @@ public static void Initialize() { VerifyDiffPlex.Initialize(); - VerifierSettings.ModifySerialization(settings => - { - settings.DontScrubNumericIds(); - settings.DontIgnoreEmptyCollections(); - settings.DontScrubDateTimes(); - settings.DontIgnoreFalse(); - settings.MemberConverter( - r => r.Filename, - (target, value) => value.Replace("\\", "/") - ); - }); + VerifierSettings.DontIgnoreEmptyCollections(); + VerifierSettings.DontScrubDateTimes(); + VerifierSettings.DontIgnoreFalse(); + VerifierSettings.MemberConverter( + r => r.Filename, + (target, value) => value.Replace("\\", "/") + ); } } }