diff options
Diffstat (limited to 'spec/test')
-rw-r--r-- | spec/test/Spec.hs | 1 | ||||
-rw-r--r-- | spec/test/Thermoprint/PrintoutSpec.hs | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/spec/test/Spec.hs b/spec/test/Spec.hs new file mode 100644 index 0000000..a824f8c --- /dev/null +++ b/spec/test/Spec.hs | |||
@@ -0,0 +1 @@ | |||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-} | |||
diff --git a/spec/test/Thermoprint/PrintoutSpec.hs b/spec/test/Thermoprint/PrintoutSpec.hs new file mode 100644 index 0000000..5a48496 --- /dev/null +++ b/spec/test/Thermoprint/PrintoutSpec.hs | |||
@@ -0,0 +1,9 @@ | |||
1 | module Thermoprint.PrintoutSpec (spec) where | ||
2 | |||
3 | import Test.Hspec | ||
4 | import Test.Hspec.QuickCheck (prop) | ||
5 | import Thermoprint.Printout | ||
6 | |||
7 | spec :: Spec | ||
8 | spec = do | ||
9 | prop "prop_text" prop_text | ||