From 575ae2bca402d036bc191e3bb52dc892b4c1f94c Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Sun, 31 Aug 2025 00:39:05 +0900 Subject: [PATCH] test(core): Remove misleading Go nested block comments test Removed the Go nested block comments test case as it was unnecessary and potentially misleading. Go block comments do not nest according to the language specification, so testing this behavior is not needed and could cause confusion about the expected behavior. The remaining tests adequately cover Go comment parsing functionality. --- tests/core/file/fileManipulate.test.ts | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/tests/core/file/fileManipulate.test.ts b/tests/core/file/fileManipulate.test.ts index 43334026..e5330175 100644 --- a/tests/core/file/fileManipulate.test.ts +++ b/tests/core/file/fileManipulate.test.ts @@ -777,30 +777,6 @@ func main() { - fmt.Println("Hello") -}`, - }, - { - name: 'Go nested block comments', - ext: '.go', - input: `package main - -/* Outer comment - /* Inner comment */ - Still in outer comment -*/ - -func main() { - fmt.Println("Hello") -}`, - expected: `package main - - - - Still in outer comment -*/ - -func main() { fmt.Println("Hello") }`, },