github.com/sunvim/utils@v0.1.0/fs/sub_test.go (about) 1 package fs 2 3 import ( 4 "testing" 5 ) 6 7 func TestSubFS(t *testing.T) { 8 testFS(t, Sub(Mem, "test")) 9 } 10 11 func TestSubFSLockFile(t *testing.T) { 12 testLockFile(t, Sub(Mem, "test")) 13 } 14 15 func TestSubFSLockAcquireExisting(t *testing.T) { 16 testLockFileAcquireExisting(t, Sub(Mem, "test")) 17 }