mirror of
https://github.com/yamadashy/repomix.git
synced 2026-05-30 11:18:53 +02:00
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.
This commit is contained in:
@@ -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")
|
||||
}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user