Skip to content

Commit c3aa8c4

Browse files
committed
Figuring out the spaces required in the table header is really hard without running the test on every platform. It's completely impossible from test results. So let's just remove that entirely.
1 parent 5bb08f9 commit c3aa8c4

7 files changed

+7
-7
lines changed

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.Linux.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
For more information, run:
33
dotnet new list -h
44
These templates matched your input:
5-
Template Name Short Name Language Tags
5+
Template
66
API
77
ASP.NET
88
Blazor

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.OSX.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
For more information, run:
33
dotnet new list -h
44
These templates matched your input:
5-
Template Name Short Name Language Tags
5+
Template
66
API
77
ASP.NET
88
Blazor

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenLegacyCommandIsUsed_common.Windows.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
For more information, run:
33
dotnet new list -h
44
These templates matched your input:
5-
Template Name Short Name Language Tags
5+
Template
66
API
77
ASP.NET
88
Blazor

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.Linux.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
These templates matched your input:
2-
Template Name Short Name Language Tags
2+
Template
33
API
44
ASP.NET
55
Blazor

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.OSX.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
These templates matched your input:
2-
Template Name Short Name Language Tags
2+
Template
33
API
44
ASP.NET
55
Blazor

test/dotnet-new.Tests/Approvals/DotnetNewListTests.BasicTest_WhenListCommandIsUsed.Windows.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
These templates matched your input:
2-
Template Name Short Name Language Tags
2+
Template
33
API
44
ASP.NET
55
Blazor

test/dotnet-new.Tests/DotnetNewListTests.Approval.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static void ScrubData(StringBuilder input)
5757

5858
foreach (var line in lines)
5959
{
60-
if (line.StartsWith("-----"))
60+
if (line.StartsWith("Template Name", StringComparison.Ordinal))
6161
{
6262
isTable = true;
6363
continue;

0 commit comments

Comments
 (0)