Skip to content

Commit 8f17f7a

Browse files
committed
Stabilize JS/TS allocation test across platforms
1 parent 4ec3151 commit 8f17f7a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/CodeIndex.Tests/PerformanceTests.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,10 +1434,13 @@ private static string BuildJavaScriptTypeScriptScopeLexingFixture(int statementC
14341434
{
14351435
builder.Append(" if (input) { total += /[{}]/.test(input) ? ")
14361436
.Append(index)
1437-
.AppendLine(" : 0; }");
1437+
.Append(" : 0; }")
1438+
.Append('\n');
14381439
}
14391440

1440-
return builder.AppendLine(" return total;\n}").ToString();
1441+
return builder.Append(" return total;\n}")
1442+
.Append('\n')
1443+
.ToString();
14411444
}
14421445

14431446
private static string BuildPythonImportedTypeCallFixture(int importCount)

0 commit comments

Comments
 (0)