Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stdlib tests runnable standalone. #26242

Merged
merged 1 commit into from
Feb 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/InteractiveUtils/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using InteractiveUtils
using Test, InteractiveUtils

# test methodswith
# `methodswith` relies on exported symbols
Expand Down
1 change: 1 addition & 0 deletions stdlib/Libdl/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
import Libdl

# these could fail on an embedded installation
Expand Down
2 changes: 1 addition & 1 deletion stdlib/Logging/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Logging
using Test, Logging

import Logging: min_enabled_level, shouldlog, handle_message

Expand Down
2 changes: 1 addition & 1 deletion stdlib/Markdown/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Markdown
using Test, Markdown
import Markdown: MD, Paragraph, Header, Italic, Bold, LineBreak, plain, term, html, rst, Table, Code, LaTeX, Footnote
import Base: show

Expand Down
2 changes: 1 addition & 1 deletion stdlib/SuiteSparse/src/cholmod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1760,7 +1760,7 @@ function diag(F::Factor{Tv}) where Tv
xv = f.x
for j in 1:f.n
jj = unsafe_load(c0, j) + 1
@assert unsafe_load(r0, jj) == j - 1
@assert(unsafe_load(r0, jj) == j - 1)
res[j] = unsafe_load(xv, jj)
end
end
Expand Down
2 changes: 1 addition & 1 deletion stdlib/UUIDs/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using UUIDs, Random
using Test, UUIDs, Random

u1 = uuid1()
u4 = uuid4()
Expand Down