☰
Debian Codegraph
@
0.0~git20260904.79376e0-2
0.0~git20260904.79376e0-1
0.0~git20250819.9dc3a90-1
/
/
mountinfo
/
mountinfo_test.go
☽
☼
mountinfo/mountinfo_test.go
code
plain
raw
symbols
SCIP
Apache-2.0
2020 Kir Kolyshkin <
[email protected]
>
debian/copyright
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
}