aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-06-02 08:03:11 -0700
committerBrad Richardson <brichardson@structint.com>2020-06-02 08:03:11 -0700
commit76439d06aee45e45c1a990e3d47634753dec59ef (patch)
tree776771ecad6174d02b54afa326d392334c6533a7 /test
parentedf79a808ebe5b4a083ea3452a49e662907aaf07 (diff)
downloadfpm-76439d06aee45e45c1a990e3d47634753dec59ef.tar.gz
fpm-76439d06aee45e45c1a990e3d47634753dec59ef.zip
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 ""