- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCommentText (0.13 sec)
-
src/go/ast/ast_test.go
{[]string{"/* Foo\n Bar*/"}, " Foo\n Bar\n"}, {[]string{"// foo", "//go:noinline", "// bar", "//:baz"}, "foo\nbar\n:baz\n"}, {[]string{"// foo", "//lint123:ignore", "// bar"}, "foo\nbar\n"}, } func TestCommentText(t *testing.T) { for i, c := range comments { list := make([]*Comment, len(c.list)) for i, s := range c.list { list[i] = &Comment{Text: s} } text := (&CommentGroup{list}).Text()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 22:03:44 UTC 2022 - 2.2K bytes - Viewed (0)