df6efcff60
* test script now runs on test file update * added src to cabal tests to get auto reload * fixed formatting * removed unneeded test dependency * fixed cabal formatting issue * Remove library stanza; no longer needed * hs-source-dirs belongs to shared Because we are sharing 'src' * Fix compilation * Move other-modules as well. Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
10 lines
243 B
Haskell
10 lines
243 B
Haskell
module Main where
|
|
|
|
import Lib qualified
|
|
import Test.Hspec (describe, hspec, it, shouldContain)
|
|
|
|
main :: IO ()
|
|
main = hspec $ do
|
|
describe "Lib.hello" $ do
|
|
it "contains the world emoji" $ do
|
|
toString Lib.hello `shouldContain` "🌎"
|