File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import (
1313// Test for issue: Panic Handling textDocument/onTypeFormatting
1414// This reproduces the panic when pressing enter in an empty file
1515func TestGetFormattingEditsAfterKeystroke_EmptyFile (t * testing.T ) {
16+ t .Parallel ()
1617 // Create an empty file
1718 text := ""
1819 sourceFile := parser .ParseSourceFile (ast.SourceFileParseOptions {
@@ -42,6 +43,7 @@ func TestGetFormattingEditsAfterKeystroke_EmptyFile(t *testing.T) {
4243
4344// Test with a simple statement
4445func TestGetFormattingEditsAfterKeystroke_SimpleStatement (t * testing.T ) {
46+ t .Parallel ()
4547 // Create a file with a simple statement
4648 text := "const x = 1"
4749 sourceFile := parser .ParseSourceFile (ast.SourceFileParseOptions {
You can’t perform that action at this time.
0 commit comments