1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00
Files
revive/cli/main_pre_go124_test.go
2025-04-10 07:54:40 +02:00

15 lines
275 B
Go

//go:build !go1.24
package cli
import "testing"
func TestGetDevelopmentVersion(t *testing.T) {
got := getVersion(defaultBuilder, defaultDate, defaultCommit, defaultVersion)
want := "version \n"
if got != want {
t.Errorf("getVersion() = %q, want %q", got, want)
}
}