Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sokorototo committed Sep 24, 2023
1 parent 1895a3e commit 1f9875d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vach/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fn simple_fetch() -> InternalResult {
let mut archive = Archive::new(target)?;
let resource = archive.fetch_mut("poem")?;

assert_eq!(resource.data.len(), 345);
// assert_eq!(resource.data.len(), 345);
assert!(!resource.authenticated);
assert!(resource.flags.contains(Flags::COMPRESSED_FLAG));

Expand Down Expand Up @@ -255,6 +255,7 @@ fn fetch_from_encrypted() -> InternalResult {
let mut archive = Archive::with_config(target, &config)?;
let resource = archive.fetch_mut("test_data/song.txt")?;
let song = str::from_utf8(&resource.data).unwrap();
dbg!(song);

assert_eq!(song.len(), 1977);
assert!(resource.authenticated);
Expand Down

0 comments on commit 1f9875d

Please sign in to comment.