func TestFS(t *testing.T) {
	tempDir, err := ioutil.TempDir("", "kivik.test.")
	if err != nil {
		t.Errorf("Failed to create temp dir to test FS driver: %s\n", err)
		return
	}
	os.RemoveAll(tempDir)       // So the driver can re-create it as desired
	defer os.RemoveAll(tempDir) // To clean up after tests
	client, err := kivik.New(context.Background(), "fs", tempDir)
	if err != nil {
		t.Errorf("Failed to connect to FS driver: %s\n", err)
		return
	}
	clients := &kt.Context{
		RW:    true,
		Admin: client,
	}
	kiviktest.RunTestsInternal(clients, kiviktest.SuiteKivikFS, t)
}
// TestFS is a duplicate of fsdb/test#TestFS
TestFS is a duplicate of fsdb/test#TestFS
// TestFS is a duplicate of fsdb / test#TestFS
func TestFS(t *testing.T) {
	tempDir, err := ioutil.TempDir("", "kivik.test.")
	if err != nil {
		t.Errorf("Failed to create temp dir to test FS driver: %s\n", err)
		return
	}
	os.RemoveAll(tempDir)       
	defer os.RemoveAll(tempDir) 
	client, err := kivik.New(context.Background(), "fs", tempDir)
	if err != nil {
		t.Errorf("Failed to connect to FS driver: %s\n", err)
		return
	}
	clients := &kt.Context{
		RW:    true,
		Admin: client,
	}
	kiviktest.RunTestsInternal(clients, kiviktest.SuiteKivikFS, t)
}
func TestFS ( t * testing . T ) { tempDir , err := ioutil . TempDir ( " " , " " ) if err != nil { t . Errorf ( " \n " , err ) return } os . RemoveAll ( tempDir ) defer os . RemoveAll ( tempDir ) client , err := kivik . New ( context . Background ( ) , " " , tempDir ) if err != nil { t . Errorf ( " \n " , err ) return } clients := & kt . Context { RW : true , Admin : client , } kiviktest . RunTestsInternal ( clients , kiviktest . SuiteKivikFS , t ) }
TestFS is a duplicate of fsdb/test#TestFS
TestFS is a duplicate of fsdb / test#TestFS
// So the driver can re-create it as desired // To clean up after tests