Skip to content

Commit fc71602

Browse files
committed
Let's try removing the additional TL characters instead.
1 parent 024a33e commit fc71602

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/Microsoft.NET.Build.Tests/GivenThatWeWantToControlGeneratedAssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ public void It_does_not_write_to_undefined_assembly_metadata_attribute(string ta
812812

813813
[Theory]
814814
[InlineData("netcoreapp3.1", ".NET Core 3.1")]
815+
[InlineData("netcoreapp2.1", ".NET Core 2.1")]
816+
[InlineData("netstandard2.1", ".NET Standard 2.1")]
815817
[InlineData(ToolsetInfo.CurrentTargetFramework, $".NET {ToolsetInfo.CurrentTargetFrameworkVersion}")]
816818
public void CheckTargetFrameworkDisplayName(string targetFrameworkVersion, string expectedFrameworkDisplayName)
817819
{

test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public static string StripTerminalLoggerProgressIndicators(this string stdout)
1212
{
1313
return stdout
1414
.Replace("\x1b]9;4;3;\x1b\\", "") // indeterminate progress start
15-
.Replace("\x1b]9;4;0;\x1b\\", ""); // indeterminate progress end
15+
.Replace("\x1b]9;4;0;\x1b\\", "") // indeterminate progress end
16+
.Replace("\x1b[?25l", "") // make cursor invisble
17+
.Replace("\x1b[?25h", ""); // make cursor visible
1618
}
17-
}
19+
}

0 commit comments

Comments
 (0)