1
0
mirror of https://github.com/mgechev/revive.git synced 2025-04-25 12:04:51 +02:00
revive/cli/main_go124_test.go
2025-04-10 07:54:40 +02:00

15 lines
281 B
Go

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