Skip to content

Commit c37b675

Browse files
authored
Merge pull request #28 from JuliaLang/KristofferC-patch-1
use Test when it is an stdlib
2 parents 0544853 + eaf22c7 commit c37b675

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/runtests.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
using Example
2-
using Base.Test
2+
if VERSION < v"0.7.0-DEV.2005"
3+
using Base.Test
4+
else
5+
using Test
6+
end
37

48
@test hello("Julia") == "Hello, Julia"
59
@test domath(2.0) 7.0

0 commit comments

Comments
 (0)