summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Spec.hs7
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