Skip to content

Commit

Permalink
fix unit-4 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Oct 23, 2024
1 parent 1b79e7b commit 8293390
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/src/commands/package/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ impl PackageBuild {

#[cfg(test)]
mod tests {
use wasmer_package::utils::from_disk;

use super::*;

/// Download a package from the dev registry.
Expand Down Expand Up @@ -213,6 +215,6 @@ description = "hello"

cmd.execute().unwrap();

webc::Container::from_disk(path.join("wasmer-hello-0.1.0.webc")).unwrap();
from_disk(path.join("wasmer-hello-0.1.0.webc")).unwrap();
}
}

0 comments on commit 8293390

Please sign in to comment.