diff --git a/src/SIL.LCModel.Core/Text/CustomIcu.cs b/src/SIL.LCModel.Core/Text/CustomIcu.cs index 3ec72644..02555e4d 100644 --- a/src/SIL.LCModel.Core/Text/CustomIcu.cs +++ b/src/SIL.LCModel.Core/Text/CustomIcu.cs @@ -191,7 +191,6 @@ public static void InitIcuDataDir() $"{icu32Path}{Path.PathSeparator}{flexIcu32Path}{Path.PathSeparator}" + $"{icu64Path}{Path.PathSeparator}{flexIcu64Path}{Path.PathSeparator}" + $"{Environment.GetEnvironmentVariable("PATH")}"); - Console.Error.WriteLine($"New Path:{Environment.GetEnvironmentVariable("PATH").Replace(Path.PathSeparator.ToString(), Environment.NewLine)}"); } var dataDirectory = Wrapper.DataDirectory; diff --git a/tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs b/tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs index 6d60490d..2bd4e896 100644 --- a/tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs +++ b/tests/SIL.LCModel.Core.Tests/Text/CustomIcuFallbackTests.cs @@ -183,7 +183,8 @@ public void FixtureTearDown() public void InitIcuDataDir_CustomIcuVersion() { CopyIcuFiles(_tmpDir, CustomIcuLibraryVersionMajor); - //Assert.That(RunTestHelper(_tmpDir), Is.EqualTo($"{CustomIcuLibraryVersionMajor}.1{Environment.NewLine}NON_SPACING_MARK{Environment.NewLine}True")); + Console.WriteLine("InitIcuDataDir_CustomIcuVersion"); + Assert.That(RunTestHelper(_tmpDir), Is.EqualTo($"{CustomIcuLibraryVersionMajor}.1{Environment.NewLine}NON_SPACING_MARK{Environment.NewLine}True")); } [Test] @@ -197,13 +198,16 @@ public void InitIcuDataDir_FallbackDefaultIcuVersion() Assert.That(icuFilesInTmpDir.Count, Is.EqualTo(2), string.Join("\r\n", icuFilesInTmpDir)); Assert.That(icuFilesInTmpDir.All(f => f.Contains(DefaultIcuLibraryVersionMajor)), Is.True, string.Join("\r\n", icuFilesInTmpDir)); // SUT + Console.WriteLine("InitIcuDataDir_FallbackDefaultIcuVersion"); Assert.That(RunTestHelper(_tmpDir), Is.EqualTo($"{DefaultIcuLibraryVersionMajor}.2{Environment.NewLine}PRIVATE_USE_CHAR{Environment.NewLine}False")); + Console.WriteLine("InitIcuDataDir_FallbackDefaultIcuVersion finish"); } [Test] public void InitIcuDataDir_NoIcuLibrary() { - //Assert.That(RunTestHelper(_tmpDir, true), Is.Empty); + Console.WriteLine("InitIcuDataDir_NoIcuLibrary"); + Assert.That(RunTestHelper(_tmpDir, true), Is.Empty); } } } \ No newline at end of file