mirror of
https://github.com/anoma/juvix.git
synced 2025-01-05 14:34:03 +03:00
[test] fix tests paths and add stance to package.yaml
This commit is contained in:
parent
655f2a3d96
commit
d74871d185
3
hie.yaml
3
hie.yaml
@ -11,3 +11,6 @@ cradle:
|
||||
|
||||
- path: "./src/app/Paths_MiniJuvix.hs"
|
||||
component: "MiniJuvix:exe:MiniJuvix"
|
||||
|
||||
- path: "./test"
|
||||
component: "MiniJuvix:test:MiniJuvix-test"
|
||||
|
@ -73,3 +73,12 @@ executables:
|
||||
source-dirs: src/app
|
||||
dependencies:
|
||||
- MiniJuvix
|
||||
|
||||
tests:
|
||||
MiniJuvix-test:
|
||||
main: Spec.hs
|
||||
source-dirs: test
|
||||
dependencies:
|
||||
- MiniJuvix
|
||||
- tasty
|
||||
- tasty-hunit
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Test where
|
||||
module Parsing.Test where
|
||||
|
||||
import MiniJuvix.Parsing.ParserQQ
|
||||
|
||||
@ -7,4 +7,4 @@ m =
|
||||
[mjuvixMod|
|
||||
module M;
|
||||
end;
|
||||
|]
|
||||
|]
|
@ -1,4 +1,7 @@
|
||||
module Main (main) where
|
||||
|
||||
import MiniJuvix.Utils.Prelude
|
||||
import Parsing.Test
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn ("Test suite is not implemented" :: String)
|
Loading…
Reference in New Issue
Block a user