github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/daemon/graphdriver/btrfs/version_test.go (about) 1 //go:build linux 2 // +build linux 3 4 package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs" 5 6 import ( 7 "testing" 8 ) 9 10 func TestLibVersion(t *testing.T) { 11 if btrfsLibVersion() <= 0 { 12 t.Error("expected output from btrfs lib version > 0") 13 } 14 }