Skip to content

Commit

Permalink
Merge pull request #28 from JuliaLang/KristofferC-patch-1
Browse files Browse the repository at this point in the history
use Test when it is an stdlib
  • Loading branch information
KristofferC authored Feb 18, 2018
2 parents 0544853 + eaf22c7 commit c37b675
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
using Example
using Base.Test
if VERSION < v"0.7.0-DEV.2005"
using Base.Test
else
using Test
end

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

0 comments on commit c37b675

Please sign in to comment.