mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 19:04:07 +00:00
Don't spam test log with useless byte asserts
This commit is contained in:
parent
fcc868c60e
commit
a3389a1aa9
1 changed files with 2 additions and 5 deletions
|
@ -177,10 +177,7 @@ fn test_write(_version: repak::Version, _file_name: &str, bytes: &[u8]) {
|
||||||
.unwrap();
|
.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_eq!(
|
assert!(pak_writer.write_index().unwrap().into_inner() == reader.into_inner());
|
||||||
pak_writer.write_index().unwrap().into_inner(),
|
|
||||||
reader.into_inner()
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_rewrite_index(_version: repak::Version, _file_name: &str, bytes: &[u8]) {
|
fn test_rewrite_index(_version: repak::Version, _file_name: &str, bytes: &[u8]) {
|
||||||
|
@ -203,7 +200,7 @@ fn test_rewrite_index(_version: repak::Version, _file_name: &str, bytes: &[u8])
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.into_inner();
|
.into_inner();
|
||||||
|
|
||||||
assert_eq!(bytes, rewrite);
|
assert!(bytes == rewrite);
|
||||||
}
|
}
|
||||||
|
|
||||||
macro_rules! matrix_test {
|
macro_rules! matrix_test {
|
||||||
|
|
Loading…
Reference in a new issue