From 8e7be8511fc04992981ae24678e66ed3c4d54c75 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 21 Mar 2024 10:01:24 +1300 Subject: [PATCH] Release 0.6! --- cattrap.cabal | 2 +- test/Test.hs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cattrap.cabal b/cattrap.cabal index 6607f57..5d02c0a 100644 --- a/cattrap.cabal +++ b/cattrap.cabal @@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: cattrap -version: 0.5.0.0 +version: 0.6.0.0 synopsis: Lays out boxes according to the CSS Box Model. description: Computes where to place e.g. images, paragraphs, containers, tables, etc onscreen given desired amounts of whitespace. homepage: https://argonaut-constellation.org/ diff --git a/test/Test.hs b/test/Test.hs index 2b0dc6e..c53d64e 100644 --- a/test/Test.hs +++ b/test/Test.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE OverloadedStrings, FlexibleContexts #-} module Main where import Test.Hspec @@ -370,7 +370,7 @@ spec = do } let inline txt = LayoutInline () (constructParagraph "" ( RootBox $ Box [ - TextSequence ((placeholderFont, 12), zero, ()) txt + TextSequence ((placeholderFont, 12), Left zero, ()) txt ] $ defaultTextOptions DirLTR ) "" defaultParagraphOptions) defaultPageOptions finalizeCSS placeholderFont placeholderFont table `shouldBe` -- 2.30.2