Skip to content

Commit c42e544

Browse files
committed
Inline module Test.Vector into Main
1 parent 8e61180 commit c42e544

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

vector/tests/Main.hs

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
module Main (main) where
22

3-
import qualified Tests.Vector
43
import qualified Tests.Vector.UnitTests
4+
import qualified Tests.Vector.Boxed
5+
import qualified Tests.Vector.Primitive
6+
import qualified Tests.Vector.Storable
7+
import qualified Tests.Vector.Unboxed
58
import qualified Tests.Bundle
69
import qualified Tests.Move
710

811
import Test.Tasty (defaultMain,testGroup)
912

1013
main :: IO ()
11-
main = defaultMain $ testGroup "toplevel" $ Tests.Bundle.tests
12-
++ Tests.Vector.tests
13-
++ Tests.Vector.UnitTests.tests
14-
++ Tests.Move.tests
15-
14+
main = defaultMain $ testGroup "toplevel" $ concat
15+
[ Tests.Bundle.tests
16+
, [ testGroup "Tests.Vector.Boxed" Tests.Vector.Boxed.tests
17+
, testGroup "Tests.Vector.Primitive" Tests.Vector.Primitive.tests
18+
, testGroup "Tests.Vector.Storable" Tests.Vector.Storable.tests
19+
, testGroup "Tests.Vector.Unboxed" Tests.Vector.Unboxed.tests
20+
]
21+
, Tests.Vector.UnitTests.tests
22+
, Tests.Move.tests
23+
]

vector/tests/Tests/Vector.hs

Lines changed: 0 additions & 15 deletions
This file was deleted.

vector/vector.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ common tests-common
196196
Boilerplater
197197
Tests.Bundle
198198
Tests.Move
199-
Tests.Vector
200199
Tests.Vector.Property
201200
Tests.Vector.Boxed
202201
Tests.Vector.Storable

0 commit comments

Comments
 (0)