- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCommentGroups (0.15 sec)
-
src/go/parser/parser_test.go
for _, u := range f.Unresolved { buf.WriteString(u.Name) buf.WriteByte(' ') } got := buf.String() if got != want { t.Errorf("\ngot: %s\nwant: %s", got, want) } } func TestCommentGroups(t *testing.T) { f, err := ParseFile(token.NewFileSet(), "", ` package p /* 1a */ /* 1b */ /* 1c */ // 1d /* 2a */ // 2b const pi = 3.1415 /* 3a */ // 3b /* 3c */ const e = 2.7182
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0)