Merge pull request #64 from djmitche/issue57

Add RemoteServer to the taskchampion crate
This commit is contained in:
Dustin J. Mitchell
2020-11-27 20:23:39 -05:00
committed by GitHub
10 changed files with 322 additions and 29 deletions

View File

@@ -149,14 +149,15 @@ mod test {
let client_id = Uuid::new_v4();
let parent_version_id = Uuid::new_v4();
let history_segment = b"abcd".to_vec();
let client = Client {
latest_version_id: if latest_version_id_nil {
Uuid::nil()
} else {
parent_version_id
},
let latest_version_id = if latest_version_id_nil {
Uuid::nil()
} else {
parent_version_id
};
txn.new_client(client_id, latest_version_id)?;
let client = txn.get_client(client_id)?.unwrap();
let result = add_version(
txn,
client_id,