drone/version/version_test.go
TP Honey af44f639fd
(maint) 2.22.0 release prep (#3447)
Co-authored-by: dependabot-ci <no-reply@github.com>
2024-01-02 15:34:39 +00:00

17 lines
384 B
Go

// Copyright 2019 Drone.IO Inc. All rights reserved.
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
//go:build !oss
// +build !oss
package version
import "testing"
func TestVersion(t *testing.T) {
if got, want := Version.String(), "2.22.0"; got != want {
t.Errorf("Want version %s, got %s", want, got)
}
}