diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-10 00:30:18 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-10 00:30:18 +0000 |
commit | 0bb617ff93d242d20e9e63f44664f38a653898d4 (patch) | |
tree | e007e973bd670dec4169b2f070c4bccd5efb5886 /spec/test | |
parent | 11a3a881157494508593bc2323fbc62b6ee04b5f (diff) | |
download | thermoprint-0bb617ff93d242d20e9e63f44664f38a653898d4.tar thermoprint-0bb617ff93d242d20e9e63f44664f38a653898d4.tar.gz thermoprint-0bb617ff93d242d20e9e63f44664f38a653898d4.tar.bz2 thermoprint-0bb617ff93d242d20e9e63f44664f38a653898d4.tar.xz thermoprint-0bb617ff93d242d20e9e63f44664f38a653898d4.zip |
reworked test harness for (partial) auto-detection
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 | ||