diff options
author | Brad Richardson <brichardson@structint.com> | 2020-05-30 17:13:09 -0700 |
---|---|---|
committer | Brad Richardson <brichardson@structint.com> | 2020-05-30 17:13:09 -0700 |
commit | f33bb50d3e15035aee97ef2a9c032f511aab447f (patch) | |
tree | 3bd285437179b79c5f9bccb3aa6496ff52d464c2 /test/Spec.hs | |
parent | 9d83f04a6f6318fd51405da500a3529fe7f9fabd (diff) | |
download | fpm-f33bb50d3e15035aee97ef2a9c032f511aab447f.tar.gz fpm-f33bb50d3e15035aee97ef2a9c032f511aab447f.zip |
Move example packages into test folder
Diffstat (limited to 'test/Spec.hs')
-rw-r--r-- | test/Spec.hs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/Spec.hs b/test/Spec.hs index 2808af9..604d8af 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -5,6 +5,8 @@ import Fpm ( Arguments(..) ) import System.Directory ( withCurrentDirectory ) +example_path = "test" </> "example_packages" + main :: IO () main = do testHelloWorld @@ -14,16 +16,16 @@ main = do testHelloWorld :: IO () testHelloWorld = - withCurrentDirectory "hello_world" $ start $ Arguments Run False + withCurrentDirectory (example_path </> "hello_world") $ start $ Arguments Run False testHelloComplex :: IO () testHelloComplex = - withCurrentDirectory "hello_complex" $ start $ Arguments Test False + withCurrentDirectory (example_path </> "hello_complex") $ start $ Arguments Test False testHelloFpm :: IO () testHelloFpm = - withCurrentDirectory "hello_fpm" $ start $ Arguments Run False + withCurrentDirectory (example_path </> "hello_fpm") $ start $ Arguments Run False testCircular :: IO () testCircular = - withCurrentDirectory "circular_example" $ start $ Arguments Test False + withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments Test False |