Skip to content

Display tests failing on Julia 1.9 #101

@ssfrr

Description

@ssfrr

Looks like something changed with respect to printing a newline at the end.

1D buf prints prettily: Test Failed at /home/runner/work/SampledSignals.jl/SampledSignals.jl/test/SampleBuf.jl:512
  Expression: String(take!(iobuf)) == expected
   Evaluated: "300-frame, 1-channel SampleBuf{Float64, 1}\n0.00625s sampled at 48000.0Hz\n▆▆▆▆▆▆▆▆▆▆▅▅▅▅▅▅▄▄▃▃▄▄▅▅▅▅▅▅▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▅▅▅▅▅▅▄▄▃▃▄▄▅▅▅▅▅▅▆▆▆▆▆▆▆▆▆▆\n" == "300-frame, 1-channel SampleBuf{Float64, 1}\n0.00625s sampled at 48000.0Hz\n▆▆▆▆▆▆▆▆▆▆▅▅▅▅▅▅▄▄▃▃▄▄▅▅▅▅▅▅▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▅▅▅▅▅▅▄▄▃▃▄▄▅▅▅▅▅▅▆▆▆▆▆▆▆▆▆▆"

Stacktrace:
 [1] macro expansion
   @ /opt/hostedtoolcache/julia/1.9.3/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:478 [inlined]
 [2] macro expansion
   @ ~/work/SampledSignals.jl/SampledSignals.jl/test/SampleBuf.jl:512 [inlined]
 [3] macro expansion
   @ /opt/hostedtoolcache/julia/1.9.3/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
 [4] macro expansion
   @ ~/work/SampledSignals.jl/SampledSignals.jl/test/SampleBuf.jl:505 [inlined]
 [5] macro expansion
   @ /opt/hostedtoolcache/julia/1.9.3/x64/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
 [6] top-level scope
   @ ~/work/SampledSignals.jl/SampledSignals.jl/test/SampleBuf.jl:13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions