refactor: Rename Test/{Catalog,Environment}

This commit is contained in:
Leni Aniva 2023-12-26 12:22:57 -05:00
parent 22789436bd
commit 77232d5a1e
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import LSpec
import Pantograph.Serial import Pantograph.Serial
import Pantograph.Environment import Pantograph.Environment
namespace Pantograph.Test.Catalog namespace Pantograph.Test.Environment
open Pantograph open Pantograph
open Lean open Lean
@ -24,7 +24,7 @@ def suite: IO LSpec.TestSeq := do
(opts := {}) (opts := {})
(trustLevel := 1) (trustLevel := 1)
return LSpec.group "Catalog" $ return LSpec.group "Environment" $
(LSpec.group "Symbol visibility" (← test_symbol_visibility env)) (LSpec.group "Symbol visibility" (← test_symbol_visibility env))
end Pantograph.Test.Catalog end Pantograph.Test.Environment

View File

@ -1,5 +1,5 @@
import LSpec import LSpec
import Test.Catalog import Test.Environment
import Test.Holes import Test.Holes
import Test.Integration import Test.Integration
import Test.Proofs import Test.Proofs
@ -15,7 +15,7 @@ def main := do
Integration.suite, Integration.suite,
Proofs.suite, Proofs.suite,
Serial.suite, Serial.suite,
Catalog.suite Environment.suite
] ]
let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done let all ← suites.foldlM (λ acc m => do pure $ acc ++ (← m)) LSpec.TestSeq.done
LSpec.lspecIO $ all LSpec.lspecIO $ all