harness-drone/version/version_test.go
2021-12-30 13:54:42 +00:00

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