harness-drone/version/version_test.go
Eoin McAfee 1ac59bcac2
release prep for v2.12.1 (#3232)
* release prep for 2.12.1
2022-06-15 11:15:14 +01:00

16 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.12.1"; got != want {
t.Errorf("Want version %s, got %s", want, got)
}
}