summaryrefslogtreecommitdiffstats
path: root/deps/deps_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'deps/deps_test.go')
-rw-r--r--deps/deps_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/deps_test.go b/deps/deps_test.go
index a7450a41c..5c58ed7a3 100644
--- a/deps/deps_test.go
+++ b/deps/deps_test.go
@@ -15,8 +15,18 @@ package deps
import (
"testing"
+
+ qt "github.com/frankban/quicktest"
)
func TestBuildFlags(t *testing.T) {
+ c := qt.New(t)
+ var bf BuildState
+ bf.Incr()
+ bf.Incr()
+ bf.Incr()
+
+ c.Assert(bf.Incr(), qt.Equals, 4)
+
}