Debian Codegraph @

mountinfo/mountinfo_test.go

raw symbols SCIP
1 //go:build !windows
2
3 package mountinfo
4
5 import "testing"
6
7 func TestGetMounts(t *testing.T) {
8 mounts, err := GetMounts(nil)
9 if err != nil {
10 t.Fatal(err)
11 }
12
13 if len(mounts) < 2 {
14 t.Fatalf("should have at least two mounts, got %d: %+v", len(mounts), mounts)
15 }
16 }