File: version_test.go

package info (click to toggle)
golang-github-azure-go-autorest 7.2.0%2BREALLY.7.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 536 kB
  • ctags: 925
  • sloc: makefile: 4
file content (13 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
package autorest

import (
	"testing"
)

func TestVersion(t *testing.T) {
	v := "7.0.0"
	if Version() != v {
		t.Errorf("autorest: Version failed to return the expected version -- expected %s, received %s",
			v, Version())
	}
}