aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-06-07 14:27:57 -0700
committerGitHub <noreply@github.com>2020-06-07 14:27:57 -0700
commit91e95b0ab00278c2dfa90b7ea86d8e95604cd308 (patch)
tree7b62f7015003d2d976dfc39a845ff4fdc0754280 /test
parentedf79a808ebe5b4a083ea3452a49e662907aaf07 (diff)
parentb1ea7e44f6d421ad8ec8f711f99aa89d171e4e0f (diff)
downloadfpm-91e95b0ab00278c2dfa90b7ea86d8e95604cd308.tar.gz
fpm-91e95b0ab00278c2dfa90b7ea86d8e95604cd308.zip
Merge pull request #89 from everythingfunctional/MoreArguments
Add ability to specify which test or program to run and their args
Diffstat (limited to 'test')
-rw-r--r--test/Spec.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Spec.hs b/test/Spec.hs
index 604d8af..18da62f 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -16,16 +16,16 @@ main = do
testHelloWorld :: IO ()
testHelloWorld =
- withCurrentDirectory (example_path </> "hello_world") $ start $ Arguments Run False
+ withCurrentDirectory (example_path </> "hello_world") $ start $ Arguments (Run "") False ""
testHelloComplex :: IO ()
testHelloComplex =
- withCurrentDirectory (example_path </> "hello_complex") $ start $ Arguments Test False
+ withCurrentDirectory (example_path </> "hello_complex") $ start $ Arguments (Test "") False ""
testHelloFpm :: IO ()
testHelloFpm =
- withCurrentDirectory (example_path </> "hello_fpm") $ start $ Arguments Run False
+ withCurrentDirectory (example_path </> "hello_fpm") $ start $ Arguments (Run "") False ""
testCircular :: IO ()
testCircular =
- withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments Test False
+ withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments (Test "") False ""