~alcinnz/CatTrap

8e7be8511fc04992981ae24678e66ed3c4d54c75 — Adrian Cochrane a month ago 48bb30e main
Release 0.6!
2 files changed, 3 insertions(+), 3 deletions(-)

M cattrap.cabal
M test/Test.hs
M cattrap.cabal => cattrap.cabal +1 -1
@@ 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/

M test/Test.hs => test/Test.hs +2 -2
@@ 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`