Skip to content

Commit

Permalink
chore: use #guard_msgs in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed May 12, 2024
1 parent e9fb4ec commit ae5c4bc
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions test/Imports.lean
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,19 @@ def importTest : CoreM Unit := do
let x ← redundantImports
logInfo s!"{x.toArray}"

/-
info:
Found the following transitively redundant imports:
/--
info: Found the following transitively redundant imports:
ImportGraph.RequiredModules
-/
#guard_msgs in
#redundant_imports

/-
info:
import ImportGraph.Imports
-/
/-- info: import ImportGraph.Imports -/
#guard_msgs in
#minimize_imports

/-
info:
[ImportGraph.Imports]
-/
/-- info: [ImportGraph.Imports] -/
#guard_msgs in
#find_home importTest


Expand All @@ -50,8 +46,6 @@ elab "#my_test" : command => do
logInfo s!"{mi.toArray}"
pure ()

/-
info:
#[ImportGraph.RequiredModules]
-/
/-- info: #[ImportGraph.Imports] -/
#guard_msgs in
#my_test

0 comments on commit ae5c4bc

Please sign in to comment.