Skip to content

Commit e0b54c7

Browse files
committed
Use import instead of using in runtests.jl
1 parent cd50c71 commit e0b54c7

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# This file is a part of InverseFunctions.jl, licensed under the MIT License (MIT).
22

3-
using InverseFunctions
4-
using Documenter
5-
using Test
3+
import Test
4+
import InverseFunctions
5+
import Documenter
66

7-
@testset "Package InverseFunctions" begin
7+
Test.@testset "Package InverseFunctions" begin
88
include("test_inverse.jl")
99

1010
# doctests
11-
DocMeta.setdocmeta!(
11+
Documenter.DocMeta.setdocmeta!(
1212
InverseFunctions,
1313
:DocTestSetup,
1414
:(using InverseFunctions);
1515
recursive=true,
1616
)
17-
doctest(InverseFunctions)
17+
Documenter.doctest(InverseFunctions)
1818
end # testset

test/test_inverse.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# This file is a part of InverseFunctions.jl, licensed under the MIT License (MIT).
22

3+
using Test
4+
using InverseFunctions
5+
6+
37
foo(x) = inv(exp(-x) + 1)
48
inv_foo(y) = log(y / (1 - y))
59

0 commit comments

Comments
 (0)