Skip to content

Commit cfd50f4

Browse files
fix windows failure
fixes a windows failure due to asserting Int64 when the architecture may be Int32 ``` ERROR: LoadError: TaskFailedException nested task error: LoadError: MethodError: Cannot `convert` an object of type Base.RefValue{Int32} to an object of type Base.RefValue{Int64} Closest candidates are: convert(::Type{T}, ::T) where T @ Base Base.jl:84 Base.RefValue{T}(::Any) where T @ Base refvalue.jl:8 Stacktrace: [1] TestItem(number::Base.RefValue{Int32}, name::String, id::String, tags::Vector{Symbol}, default_imports::Bool, setups::Vector{Any}, retries::Int32, timeout::Nothing, skip::Bool, failfast::Nothing, file::String, line::Int32, project_root::String, code::Expr, testsetups::Vector{TestSetup}, workerid::Base.RefValue{Int32}, testsets::Vector{Test.DefaultTestSet}, eval_number::Base.RefValue{Int32}, stats::Vector{ReTestItems.PerfStats}, scheduled_for_evaluation::ReTestItems.ScheduledForEvaluation) ```
1 parent f3735d5 commit cfd50f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ those test in their own module.
112112
Should only be created via the `@testitem` macro.
113113
"""
114114
struct TestItem
115-
number::Base.RefValue{Int64} # populated by runtests coordinator once all test items are known
115+
number::Base.RefValue{Int} # populated by runtests coordinator once all test items are known
116116
name::String
117117
id::String # in case file/name isn't a sufficiently stable identifier for reporting purposes
118118
tags::Vector{Symbol}

0 commit comments

Comments
 (0)