Skip to content

Commit

Permalink
added test case for unknown consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydevnull committed Feb 8, 2017
1 parent 4ee4cb3 commit b519273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/consistency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ mod tests {
assert_eq!(Consistency::Serial.into_cbytes(), vec![0, 8]);
assert_eq!(Consistency::LocalSerial.into_cbytes(), vec![0, 9]);
assert_eq!(Consistency::LocalOne.into_cbytes(), vec![0, 10]);
assert_eq!(Consistency::Unknown.into_cbytes(), vec![0, 99]);
}

#[test]
Expand Down

0 comments on commit b519273

Please sign in to comment.