From 5364332c05749268000c2ac3f0e6880f965e5fdc Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Thu, 2 Oct 2025 14:02:50 +0530 Subject: Init setup with simple tui --- specs/Main.hs | 8 ++++++++ specs/Specs/FooSpec.hs | 10 ++++++++++ 2 files changed, 18 insertions(+) create mode 100644 specs/Main.hs create mode 100644 specs/Specs/FooSpec.hs (limited to 'specs') diff --git a/specs/Main.hs b/specs/Main.hs new file mode 100644 index 0000000..e22c414 --- /dev/null +++ b/specs/Main.hs @@ -0,0 +1,8 @@ +module Main (main) where + +import qualified Specs.FooSpec +import Test.Hspec (hspec) + +main :: IO () +main = hspec $ do + Specs.FooSpec.test diff --git a/specs/Specs/FooSpec.hs b/specs/Specs/FooSpec.hs new file mode 100644 index 0000000..295ef79 --- /dev/null +++ b/specs/Specs/FooSpec.hs @@ -0,0 +1,10 @@ +module Specs.FooSpec where + +import Test.Hspec + +test :: SpecWith () +test = do + describe "stuff" $ do + context "when things" $ do + it "does stuf" $ do + 1 `shouldBe` 1 -- cgit v1.3.1