Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Wrap an overly long line
  • Loading branch information
pepyakin authored May 15, 2021
commit 5d1ed9c7e236dbe3afa00f1949801b7e6ec022f9
5 changes: 4 additions & 1 deletion node/core/pvf/src/artifacts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ mod tests {
let path = Path::new("/test");
let hash = H256::from_str("1234567890123456789012345678901234567890123456789012345678901234").unwrap();

assert_eq!(ArtifactId::new(hash).path(path).to_str(), Some("/test/wasmtime_1_0x1234567890123456789012345678901234567890123456789012345678901234"));
assert_eq!(
ArtifactId::new(hash).path(path).to_str(),
Some("/test/wasmtime_1_0x1234567890123456789012345678901234567890123456789012345678901234"),
);
}
}