We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3aa8c4 commit 953a20fCopy full SHA for 953a20f
test/dotnet-new.Tests/DotnetNewListTests.Approval.cs
@@ -57,9 +57,16 @@ private static void ScrubData(StringBuilder input)
57
58
foreach (var line in lines)
59
{
60
+
61
+ // start trimming whitespace and anything but the first word with the start of the table
62
if (line.StartsWith("Template Name", StringComparison.Ordinal))
63
64
isTable = true;
65
+ }
66
67
+ // We don't want to have to count how many dashes are in the table separator as this can change based on the width of the column
68
+ if (line.StartsWith("-----", StringComparison.Ordinal))
69
+ {
70
continue;
71
}
72
0 commit comments