Show More
@@ -323,7 +323,7 b' mod tests {' | |||||
323 | is_first: false, |
|
323 | is_first: false, | |
324 | is_inline: false, |
|
324 | is_inline: false, | |
325 | is_general_delta: true, |
|
325 | is_general_delta: true, | |
326 |
version: |
|
326 | version: 1, | |
327 | offset: 0, |
|
327 | offset: 0, | |
328 | compressed_len: 0, |
|
328 | compressed_len: 0, | |
329 | uncompressed_len: 0, |
|
329 | uncompressed_len: 0, | |
@@ -517,10 +517,10 b' mod tests {' | |||||
517 | fn version_test() { |
|
517 | fn version_test() { | |
518 | let bytes = IndexEntryBuilder::new() |
|
518 | let bytes = IndexEntryBuilder::new() | |
519 | .is_first(true) |
|
519 | .is_first(true) | |
520 |
.with_version( |
|
520 | .with_version(2) | |
521 | .build(); |
|
521 | .build(); | |
522 |
|
522 | |||
523 |
assert_eq!(get_version(&bytes), |
|
523 | assert_eq!(get_version(&bytes), 2) | |
524 | } |
|
524 | } | |
525 | } |
|
525 | } | |
526 |
|
526 |
General Comments 0
You need to be logged in to leave comments.
Login now