harness-drone/version/version_test.go
2020-07-12 14:19:18 -04:00

15 lines
367 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.
// +build !oss
package version
import "testing"
func TestVersion(t *testing.T) {
if got, want := Version.String(), "1.9.0"; got != want {
t.Errorf("Want version %s, got %s", want, got)
}
}