File: version_test.go

package info (click to toggle)
golang-gopkg-goose.v1 0.0~git20170406.3228e4f-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,116 kB
  • sloc: python: 160; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2013 Canonical Ltd.
// Licensed under the LGPLv3, see COPYING and COPYING.LESSER file for details.

package goose

import (
	gc "gopkg.in/check.v1"
)

type VersionTestSuite struct {
}

var _ = gc.Suite(&VersionTestSuite{})

func (s *VersionTestSuite) TestStringMatches(c *gc.C) {
	c.Assert(Version, gc.Equals, VersionNumber.String())
}