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

Display tests failing on Julia 1.9 #101

Open
ssfrr opened this issue Oct 2, 2023 · 0 comments
Open

Display tests failing on Julia 1.9 #101

ssfrr opened this issue Oct 2, 2023 · 0 comments

Comments

@ssfrr
Copy link
Collaborator

ssfrr commented Oct 2, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant