diff --git a/crates/sozo/src/commands/build.rs b/crates/sozo/src/commands/build.rs index b6e000bf05..e17fa19689 100644 --- a/crates/sozo/src/commands/build.rs +++ b/crates/sozo/src/commands/build.rs @@ -28,7 +28,8 @@ mod tests { fn build_example() { let config = build_test_config("../../examples/spawn-and-move/Scarb.toml").unwrap(); - let result = BuildArgs.run(&config); + let build_args = BuildArgs; + let result = build_args.run(&config); assert!(result.is_ok()); } }