JuliaTesting / ReferenceTests.jl

Utility package for comparing data against reference files
https://juliatesting.github.io/ReferenceTests.jl/latest/
Other
83 stars 15 forks source link

Testsuite broken on `1.11` #126

Closed t-bltg closed 8 months ago

t-bltg commented 8 months ago
(@v1.11) pkg> test ReferenceTests
[...]

io2str: Error During Test at [...]/packages/ReferenceTests/alYEo/test/runtests.jl:51
  Test threw exception
  Expression: #= [...]/packages/ReferenceTests/alYEo/test/runtests.jl:51 =# @io2str(print(::IO, "foo")) == "foo"
  MethodError: no method matching resize!(::Memory{UInt8}, ::Int64)
  The function `resize!` exists, but no method is defined for this combination of argument types.

  Closest candidates are:
    resize!(::SparseArrays.ReadOnly, ::Any)
     @ SparseArrays [...]/share/julia/stdlib/v1.11/SparseArrays/src/readonly.jl:33
    resize!(::SparseArrays.UMFPACK.UmfpackWS, ::Any, ::Bool; expand_only)
     @ SparseArrays [...]/share/julia/stdlib/v1.11/SparseArrays/src/solvers/umfpack.jl:216
    resize!(::OffsetArrays.OffsetVector{T} where T, ::Integer)
     @ OffsetArrays ~/.julia/packages/OffsetArrays/rMTtC/src/OffsetArrays.jl:604
    ...

  Stacktrace:
   [1] macro expansion
     @ ~/.julia/packages/ReferenceTests/alYEo/src/utils.jl:36 [inlined]
   [2] macro expansion
     @ [...]/share/julia/stdlib/v1.11/Test/src/Test.jl:676 [inlined]
   [3] macro expansion
     @ ~/.julia/packages/ReferenceTests/alYEo/test/runtests.jl:51 [inlined]
   [4] macro expansion
     @ [...]/share/julia/stdlib/v1.11/Test/src/Test.jl:1700 [inlined]
   [5] macro expansion
     @ ~/.julia/packages/ReferenceTests/alYEo/test/runtests.jl:48 [inlined]
   [6] macro expansion
     @ [...]/share/julia/stdlib/v1.11/Test/src/Test.jl:1700 [inlined]
   [7] top-level scope
     @ ~/.julia/packages/ReferenceTests/alYEo/test/runtests.jl:39
io2str: Error During Test at [...]/packages/ReferenceTests/alYEo/test/runtests.jl:52
t-bltg commented 8 months ago

Fixed by https://github.com/JuliaTesting/ReferenceTests.jl/pull/125.