John MacFarlane
7e389cb3db
Use NoImplicitPrelude and explicitly import Prelude.
...
This seems to be necessary if we are to use our custom Prelude
with ghci.
Closes #4464 .
2018-03-18 10:46:28 -07:00
Jesse Rosenthal
de6ae29be5
Docx writer tests: correct test name.
2018-01-27 17:47:07 -05:00
Jesse Rosenthal
ebcd04f57a
Docx writer tests: Add tests for custom styles
2018-01-27 11:46:41 -05:00
Jesse Rosenthal
b3449a84aa
Docx writer tests: Use new golden framework
...
These are based off the reader tests, with some removed (where the
reader output was identical, based on different docx inputs). There
are still more to be added. In particular, tests for custom-styles
need to be added.
All golden docx files have been checked in MS Word
2013 (windows). There is no corruption.
There is questionable output in the `tables` test: the three tables
seemed to be joined. This will be addressed in a future commit, and
the golden docx file will be changed.
2018-01-27 08:08:25 -05:00
John MacFarlane
ff16db1aa3
Automatic reformating by stylish-haskell.
2017-10-27 20:28:29 -07:00
John MacFarlane
83d856ee6c
Fixed writer tests not to use writerUserDataDir.
2017-08-10 23:51:42 -07:00
John MacFarlane
4e8f7a1796
Fix docx writer test for ghc 8.2.1.
...
Workaround for different behavior of Data.Unique in different ghc
versions.
2017-07-15 11:39:01 +02:00
John MacFarlane
3871a73e0f
Rearrange docx writer roundtrip test.
...
I'm hoping this gives reproducible results on ghc 8.2.1.
2017-07-15 09:14:17 +02:00
John MacFarlane
4e9e1bae7c
Refactored compareOutput in docx writer test
2017-07-14 23:39:33 +02:00
John MacFarlane
94b3dacb4e
Changed all readers to take Text instead of String.
...
Readers: Renamed StringReader -> TextReader.
Updated tests.
API change.
2017-06-10 18:26:44 +02:00
John MacFarlane
6ecc5b96a9
Use tasty for tests rather than test-framework.
2017-03-14 17:07:23 +01:00
John MacFarlane
e256c8ce17
Stylish-haskell automatic formatting changes.
2017-03-04 13:03:41 +01:00
John MacFarlane
18ab864269
Moved tests/ -> test/.
2017-02-04 12:56:30 +01:00