Abbotware.UnitTests.Core.PathHelperTests.LogFileModuleNameRooted_Windows C# (CSharp) Method

LogFileModuleNameRooted_Windows() private method

private LogFileModuleNameRooted_Windows ( ) : void
return void
        public void LogFileModuleNameRooted_Windows()
        {
            this.SkipTestOnLinux();

            var windows = @"C:/temp/L:ogs/[NOT AVAILABLE][UnitTest].l:og";

            var cleaned = PathHelper.CleanPath(windows);

            Assert.AreEqual("C:\\temp\\Logs\\[NOT AVAILABLE][UnitTest].log", cleaned);
        }