summaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2017-05-12 03:48:48 +0300
committerAlbert Krewinkel <albert+github@zeitkraut.de>2017-05-12 07:36:03 +0200
commitc14c8a1a680447827629b5f332b67d955368715d (patch)
tree7d8eb6306c00f6025fe8c5df9f24171e563b8964 /test/Tests/Readers
parent4b9fb7a1280f1d923a6bcecbf42a496480020359 (diff)
Replace `repeat' and `take' with `replicate'
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Org.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Readers/Org.hs b/test/Tests/Readers/Org.hs
index 278d91cfd..1419604ac 100644
--- a/test/Tests/Readers/Org.hs
+++ b/test/Tests/Readers/Org.hs
@@ -26,7 +26,7 @@ simpleTable' :: Int
-> [Blocks]
-> [[Blocks]]
-> Blocks
-simpleTable' n = table "" (take n $ repeat (AlignDefault, 0.0))
+simpleTable' n = table "" (replicate n (AlignDefault, 0.0))
tests :: [TestTree]
tests =