Skip to content

Corrupted strings in tests on 1.12Β #84

@KristofferC

Description

@KristofferC

https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/cdf2f46_vs_d63aded/InlineStrings.primary.log

InlineString operations: Test Failed at /home/pkgeval/.julia/packages/InlineStrings/79NvI/test/runtests.jl:350
  Expression: unsafe_string(Base.unsafe_convert(Ptr{UInt8}, Base.cconvert(Ptr{UInt8}, x))) == y
   Evaluated: "@\xb5\xdf\x02" == ""

Stacktrace:
 [1] macro expansion
   @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/InlineStrings/79NvI/test/runtests.jl:350 [inlined]
 [3] macro expansion
   @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]
 [4] top-level scope
   @ ~/.julia/packages/InlineStrings/79NvI/test/runtests.jl:269
InlineString operations: Test Failed at /home/pkgeval/.julia/packages/InlineStrings/79NvI/test/runtests.jl:351
  Expression: unsafe_string(Base.unsafe_convert(Ptr{Int8}, Base.cconvert(Ptr{Int8}, x))) == y
   Evaluated: "\x7f" == ""

Stacktrace:
 [1] macro expansion
   @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:679 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/InlineStrings/79NvI/test/runtests.jl:351 [inlined]
 [3] macro expansion
   @ /opt/julia/share/julia/stdlib/v1.12/Test/src/Test.jl:1771 [inlined]
 [4] top-level scope
   @ ~/.julia/packages/InlineStrings/79NvI/test/runtests.jl:269
InlineString operations: Test Failed at /home/pkgeval/.julia/packages/InlineStrings/79NvI/test/runtests.jl:350
  Expression: unsafe_string(Base.unsafe_convert(Ptr{UInt8}, Base.cconvert(Ptr{UInt8}, x))) == y
   Evaluated: "@\xb5\xdf\x02" == "πŸ•"

Might need the same treatment as JuliaDatabases/SQLite.jl#308?

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