File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
pkg/golinters/godot/testdata Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,10 @@ func godot(a, b int) int {
11
11
// Nothing to do here
12
12
return a + b
13
13
}
14
+
15
+ // Foo Lorem ipsum dolor sit amet, consectetur adipiscing elit.
16
+ // Aenean rhoncus odio enim, et pulvinar libero ultrices quis.
17
+ // Nulla at erat tellus. Maecenas id dapibus velit, ut porttitor ipsum
18
+ func Foo () {
19
+ // nothing to do here
20
+ }
Original file line number Diff line number Diff line change @@ -11,3 +11,10 @@ func godot(a, b int) int {
11
11
// Nothing to do here
12
12
return a + b
13
13
}
14
+
15
+ // Foo Lorem ipsum dolor sit amet, consectetur adipiscing elit.
16
+ // Aenean rhoncus odio enim, et pulvinar libero ultrices quis.
17
+ // Nulla at erat tellus. Maecenas id dapibus velit, ut porttitor ipsum.
18
+ func Foo () {
19
+ // nothing to do here
20
+ }
Original file line number Diff line number Diff line change @@ -7,3 +7,12 @@ package testdata
7
7
func Godot () {
8
8
// nothing to do here
9
9
}
10
+
11
+ // want +4 "Comment should end in a period"
12
+
13
+ // Foo Lorem ipsum dolor sit amet, consectetur adipiscing elit.
14
+ // Aenean rhoncus odio enim, et pulvinar libero ultrices quis.
15
+ // Nulla at erat tellus. Maecenas id dapibus velit, ut porttitor ipsum
16
+ func Foo () {
17
+ // nothing to do here
18
+ }
You can’t perform that action at this time.
0 commit comments