about summary refs log tree commit diff
path: root/test/Spec.hs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-24T15·14-0400
committerGriffin Smith <root@gws.fyi>2020-05-24T15·14-0400
commit2c86856ca7784483a7cdd438763b2693a297908a (patch)
treeb11575c52247b2c2fe0ef4b1a2e0f5da233b0df9 /test/Spec.hs
parent15b4f0e6a73987f9afbc46f46862b5120029e715 (diff)
Add a new template system
Add a parser, pretty-printer, and renderer for a new template system,
which should eventually be a drop-in replacement for the current
mustache-based template system, but also supports text filters (which
will be used for things like pluralization and noun casing). Nothing
currently uses it yet, though.
Diffstat (limited to 'test/Spec.hs')
-rw-r--r--test/Spec.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Spec.hs b/test/Spec.hs
index 3790f3ce65ba..afe81d028c77 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -11,6 +11,7 @@ import qualified Xanthous.Entities.RawsSpec
 import qualified Xanthous.GameSpec
 import qualified Xanthous.Generators.UtilSpec
 import qualified Xanthous.MessageSpec
+import qualified Xanthous.Messages.TemplateSpec
 import qualified Xanthous.OrphansSpec
 import qualified Xanthous.Util.GraphicsSpec
 import qualified Xanthous.Util.GraphSpec
@@ -32,6 +33,7 @@ test = testGroup "Xanthous"
   , Xanthous.GameSpec.test
   , Xanthous.Generators.UtilSpec.test
   , Xanthous.MessageSpec.test
+  , Xanthous.Messages.TemplateSpec.test
   , Xanthous.OrphansSpec.test
   , Xanthous.DataSpec.test
   , Xanthous.UtilSpec.test