From a48a6ad1c68f2896e7438345df9352e623a0737a Mon Sep 17 00:00:00 2001 From: glihm Date: Mon, 10 Jun 2024 11:11:35 -0600 Subject: [PATCH] fix: fix test typo + add comment on isolated variant test --- bin/sozo/src/commands/migrate.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/sozo/src/commands/migrate.rs b/bin/sozo/src/commands/migrate.rs index f53182b9ae..3acb7f25cb 100644 --- a/bin/sozo/src/commands/migrate.rs +++ b/bin/sozo/src/commands/migrate.rs @@ -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); }