JuliaLang/julia

Confusing test failure display for KeySet

Open

#40.188 aperta il 25 mar 2021

Vedi su GitHub
 (10 commenti) (1 reazione) (0 assegnatari)Julia (5773 fork)batch import
display and printinggood first issue

Metriche repository

Star
 (48.709 star)
Metriche merge PR
 (Merge medio 20g 6h) (157 PR mergiate in 30 g)

Descrizione

Julia 1.6.0-rc3

runtests.jl:

using Test

d = Dict("hello" => "world")
@test keys(d) == ["hello"]

Test output:

     Testing Running tests...
Test Failed at /Users/fons/Documents/Pluto.jl/test/runtests.jl:4
  Expression: keys(d) == ["hello"]
   Evaluated: ["hello"] == ["hello"]
ERROR: LoadError: There was an error during testing
in expression starting at /Users/fons/Documents/Pluto.jl/test/runtests.jl:4

Guida contributor