File: version_test.go

package info (click to toggle)
golang-github-wellington-go-libsass 0.9.2%2Bgit20181130.4ef5b9d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,128 kB
  • sloc: cpp: 28,607; ansic: 839; makefile: 44
file content (12 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package libsass

import "testing"

func TestVersion(t *testing.T) {
	if len(Version()) == 0 {
		t.Fatal("No version reported")
	}
	if Version() == "[NA]" {
		t.Fatalf("got: %s wanted: versioned lib", Version())
	}
}