diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-10-09 01:24:53 -0600 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-10-09 01:24:53 -0600 |
commit | bc404348ec9012eb08e08e29e8caf80dda73247f (patch) | |
tree | 0bc87e2e9fe4b3dee1da8f085cc7db94d51e231d /test/Spec.hs | |
parent | 25f1f0214eeeb70f772394d92e8b66026d01e101 (diff) | |
download | fiddle-bc404348ec9012eb08e08e29e8caf80dda73247f.tar.gz fiddle-bc404348ec9012eb08e08e29e8caf80dda73247f.tar.bz2 fiddle-bc404348ec9012eb08e08e29e8caf80dda73247f.zip |
Prepare code to make testing much easier.
This is primarily done by making more things json and by instrumenting
which stage in compilation to dump and others. This means I can make
bash scripts for end to end testing.
Diffstat (limited to 'test/Spec.hs')
-rw-r--r-- | test/Spec.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Spec.hs b/test/Spec.hs new file mode 100644 index 0000000..834ade8 --- /dev/null +++ b/test/Spec.hs @@ -0,0 +1,7 @@ +import Test.Hspec + +main :: IO () +main = hspec $ do + describe "add" $ do + it "adds two positive numbers" $ do + 2 + 3 `shouldBe` 5 |