2019-02-19 23:56:41 +00:00
|
|
|
// 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.
|
|
|
|
|
2021-12-15 13:51:39 +00:00
|
|
|
//go:build !oss
|
2019-02-28 07:07:13 +00:00
|
|
|
// +build !oss
|
|
|
|
|
2019-02-19 23:56:41 +00:00
|
|
|
package version
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestVersion(t *testing.T) {
|
2022-06-15 10:15:14 +00:00
|
|
|
if got, want := Version.String(), "2.12.1"; got != want {
|
2019-02-19 23:56:41 +00:00
|
|
|
t.Errorf("Want version %s, got %s", want, got)
|
|
|
|
}
|
|
|
|
}
|