Skip to content

Commit 1624e5b

Browse files
committed
Move tests into testsets
1 parent ff82bc9 commit 1624e5b

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

test/runtests.jl

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
11
using AxisArrays
22
using Base.Test
33

4-
if VERSION < v"0.6.0-dev"
5-
@test isempty(detect_ambiguities(AxisArrays, Base, Core))
6-
end
4+
@testset "AxisArrays" begin
5+
if VERSION < v"0.6.0-dev"
6+
@test isempty(detect_ambiguities(AxisArrays, Base, Core))
7+
end
8+
9+
@testset "Core" begin
10+
include("core.jl")
11+
end
12+
13+
@testset "Intervals" begin
14+
include("intervals.jl")
15+
end
716

8-
include("core.jl")
9-
include("intervals.jl")
10-
include("indexing.jl")
11-
include("sortedvector.jl")
12-
include("search.jl")
13-
include("combine.jl")
17+
@testset "Indexing" begin
18+
include("indexing.jl")
19+
end
1420

15-
include("readme.jl")
21+
@testset "SortedVector" begin
22+
include("sortedvector.jl")
23+
end
1624

17-
nothing
25+
@testset "Search" begin
26+
include("search.jl")
27+
end
28+
29+
@testset "Combine" begin
30+
include("combine.jl")
31+
end
32+
33+
@testset "README" begin
34+
include("readme.jl")
35+
end
36+
end

0 commit comments

Comments
 (0)