Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Feb 11, 2025
1 parent 7718b51 commit 9ac5c86
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions symbolic-symcache/tests/test_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn test_write_header_linux() -> Result<(), Error> {
}

let symcache = SymCache::parse(&buffer)?;
insta::assert_debug_snapshot!(symcache, @r#"
insta::assert_debug_snapshot!(symcache, @r###"
SymCache {
version: 8,
debug_id: DebugId {
Expand All @@ -33,11 +33,11 @@ fn test_write_header_linux() -> Result<(), Error> {
arch: Amd64,
files: 55,
functions: 697,
source_locations: 8284,
ranges: 6828,
source_locations: 8431,
ranges: 6975,
string_bytes: 49877,
}
"#);
"###);

Ok(())
}
Expand Down Expand Up @@ -67,7 +67,7 @@ fn test_write_header_macos() -> Result<(), Error> {
converter.process_object(&object)?;
converter.serialize(&mut Cursor::new(&mut buffer))?;
let symcache = SymCache::parse(&buffer)?;
insta::assert_debug_snapshot!(symcache, @r#"
insta::assert_debug_snapshot!(symcache, @r###"
SymCache {
version: 8,
debug_id: DebugId {
Expand All @@ -77,11 +77,11 @@ fn test_write_header_macos() -> Result<(), Error> {
arch: Amd64,
files: 36,
functions: 639,
source_locations: 7199,
ranges: 5782,
source_locations: 7382,
ranges: 5965,
string_bytes: 40958,
}
"#);
"###);

Ok(())
}
Expand Down

0 comments on commit 9ac5c86

Please sign in to comment.