Gather all hs-source-dirs to check test modules in sub-directories
This commit is contained in:
5
test/data/check-test-subdir/test/Bar/Baz.hs
Normal file
5
test/data/check-test-subdir/test/Bar/Baz.hs
Normal file
@@ -0,0 +1,5 @@
|
||||
module Bar.Baz (baz) where
|
||||
import Foo (foo)
|
||||
|
||||
baz :: String
|
||||
baz = unwords [foo, "baz"]
|
||||
3
test/data/check-test-subdir/test/Foo.hs
Normal file
3
test/data/check-test-subdir/test/Foo.hs
Normal file
@@ -0,0 +1,3 @@
|
||||
module Foo (foo) where
|
||||
|
||||
foo = "foo"
|
||||
5
test/data/check-test-subdir/test/Main.hs
Normal file
5
test/data/check-test-subdir/test/Main.hs
Normal file
@@ -0,0 +1,5 @@
|
||||
module Main where
|
||||
import Bar.Baz (baz)
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn baz
|
||||
Reference in New Issue
Block a user