Skip to content

Commit

Permalink
Remove boilerplate that is inferred from compiler anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTemp committed Aug 31, 2022
1 parent 1d1256d commit cd50f32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/TestXlsx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -521,14 +521,14 @@ testCondFormattedResult = CondFormatted styleSheet formattings

testFormattedCells :: Map (RowIndex, ColumnIndex) FormattedCell
testFormattedCells = flip execState def $ do
at (RowIndex 1, ColumnIndex 1) ?=
at (1, 1) ?=
(def & formattedRowSpan .~ 5
& formattedColSpan .~ 5
& formattedFormat . formatBorder . non def . borderTop .
non def . borderStyleLine ?~ LineStyleDashed
& formattedFormat . formatBorder . non def . borderBottom .
non def . borderStyleLine ?~ LineStyleDashed)
at (RowIndex 10, ColumnIndex 2) ?= (def & formattedFormat . formatFont . non def . fontBold ?~ True)
at (10, 2) ?= (def & formattedFormat . formatFont . non def . fontBold ?~ True)

testRunCondFormatted :: CondFormatted
testRunCondFormatted = conditionallyFormatted condFmts minimalStyleSheet
Expand Down

0 comments on commit cd50f32

Please sign in to comment.