diff --git a/Src/Utilities/pcpatrflex/DisambiguateInFLExDB/DisambiguateInFLExDBTests/ToneParsInvokerTests.cs b/Src/Utilities/pcpatrflex/DisambiguateInFLExDB/DisambiguateInFLExDBTests/ToneParsInvokerTests.cs index 898a185dee..bf68cfe997 100644 --- a/Src/Utilities/pcpatrflex/DisambiguateInFLExDB/DisambiguateInFLExDBTests/ToneParsInvokerTests.cs +++ b/Src/Utilities/pcpatrflex/DisambiguateInFLExDB/DisambiguateInFLExDBTests/ToneParsInvokerTests.cs @@ -184,8 +184,8 @@ private void CompareResultToExpectedFile(string expectedFileString, string actua private string NormalizeContent(string input) { string tp = "tonepars64"; - string normalized = NormalizeViaIndex(input, "AppData", ""); - normalized = NormalizeViaIndex(normalized, "TestData", ""); + string normalized = NormalizeViaIndex(input, "AppData", "AppData"); + normalized = NormalizeViaIndex(normalized, "TestData", "TestData"); normalized = NormalizeViaIndex(normalized, tp, tp); return normalized; } @@ -201,7 +201,7 @@ private static string NormalizeViaIndex(string input, string match, string chang { iColon--; // skip the drive letter, too string appdataPath = input.Substring(iColon, iAppData - iColon); - input = input.Replace(appdataPath, change); + input = input.Replace(appdataPath + match, change); } } return input;