mirror of
https://github.com/anoma/juvix.git
synced 2024-09-11 16:26:33 +03:00
Builtin information needs to be propagated from stored modules to REPL artifacts to avoid "The builtin _ has not been defined" errors. This PR adds a test suite for the REPL in the Haskell test code. This means some of the slow smoke tests can be moved to fast haskell unit tests. In future we should refactor the REPL code by putting in the main src target and unit testing more features (e.g :doc, :def). * Closes https://github.com/anoma/juvix/issues/2638
8 lines
142 B
Haskell
8 lines
142 B
Haskell
module Repl where
|
|
|
|
import Base
|
|
import Repl.Positive qualified as P
|
|
|
|
allTests :: TestTree
|
|
allTests = testGroup "Juvix REPL tests" [P.allTests]
|