Skip to content

Commit

Permalink
fix: fix test typo + add comment on isolated variant test
Browse files Browse the repository at this point in the history
  • Loading branch information
glihm committed Jun 10, 2024
1 parent d346456 commit a48a6ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/sozo/src/commands/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ impl MigrateArgs {
trace!(args = ?self);
let ws = scarb::ops::read_workspace(config.manifest_path(), config)?;

// This variant is tested before the match on `self.command` to avoid
// having the need to spin up a Katana to generate the files.
if let MigrateCommand::GenerateOverlays = self.command {
trace!("Planning migration.");
trace!("Generating overlays.");
return migration::generate_overlays(&ws);
}

Check warning on line 67 in bin/sozo/src/commands/migrate.rs

View check run for this annotation

Codecov / codecov/patch

bin/sozo/src/commands/migrate.rs#L64-L67

Added lines #L64 - L67 were not covered by tests

Expand Down

0 comments on commit a48a6ad

Please sign in to comment.