Skip to content

Commit ac86c55

Browse files
committed
test: add file expected by example
Go 1.24 seems to expect that go tests support for examples should be named to match an actual identifier, so add that identifier so that the test for :GoTest for examles will work.
1 parent 2a62668 commit ac86c55

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package main
2+
3+
func HelloWorld() string {
4+
return "not the hello you're looking for"
5+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module vim-go.test/example
22

3-
go 1.16
3+
go 1.24

0 commit comments

Comments
 (0)