Skip to content

Commit

Permalink
Merge pull request #109 from musm/tes
Browse files Browse the repository at this point in the history
Clean up testing
  • Loading branch information
SimonDanisch committed Feb 13, 2017
2 parents 662297f + ae17138 commit 1e07cf3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 26 deletions.
1 change: 0 additions & 1 deletion test/REQUIRE

This file was deleted.

12 changes: 4 additions & 8 deletions test/loadsave.jl
@@ -1,10 +1,6 @@
using FileIO, Compat
if VERSION >= v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using FileIO
using Base.Test
using Compat

# Stub readers---these might bork any existing readers, so don't
# run these tests while doing other things!
Expand Down Expand Up @@ -198,4 +194,4 @@ end

@testset "Absent file" begin
@test_throws SystemError load("nonexistent.oops")
end
end
7 changes: 1 addition & 6 deletions test/query.jl
@@ -1,10 +1,5 @@
using FileIO
if VERSION >= v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test
using Compat
import Compat.String

Expand Down
15 changes: 4 additions & 11 deletions test/runtests.jl
@@ -1,15 +1,8 @@
using FileIO
if VERSION >= v"0.5.0-dev+7720"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end
using Base.Test

@testset "FileIO" begin
include("query.jl")
include("loadsave.jl")
include("error_handling.jl")
include("query.jl")
include("loadsave.jl")
include("error_handling.jl")
end

# make Travis fail when tests fail:

0 comments on commit 1e07cf3

Please sign in to comment.