matrix-media-expanded/tests/Spec.hs
EvanPiro df6efcff60
bin/test: run test, and reload on library change (#32)
* 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>
2022-08-08 11:02:43 -04:00

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` "🌎"