Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Tests fail on v0.5 #227

@ranjanan

Description

@ranjanan

Tests fail for me on v0.5 rc2:

Error During Test
  Test threw an exception of type MethodError
  Expression: to_dot(attrs) == "[\"foo\"=\"bar\"]"
  MethodError: no method matching similar(::Dict{String,Any}, ::Type{String})
  Closest candidates are:
    similar(::SubArray{T,N,P,I,L}, ::Type{T}, ::Tuple{Vararg{Int64,N}}) at subarray.jl:52
    similar{T}(::Array{T,1}, ::Type{T}) at array.jl:122
    similar{T}(::Array{T,2}, ::Type{T}) at array.jl:123
    ...
   in _collect(::Dict{String,Any}, ::Base.Generator{Dict{String,Any},Graphs.##33#34}, ::Base.EltypeUnknown, ::Base.HasLength) at ./array.jl:318
   in to_dot(::Dict{String,Any}) at /Users/ranjan/.julia/v0.5/Graphs/src/dot.jl:66
   in include_from_node1(::String) at ./loading.jl:426
   in macro expansion; at /Users/ranjan/.julia/v0.5/Graphs/test/runtests.jl:28 [inlined]
   in anonymous at ./<missing>:?
   in include_from_node1(::String) at ./loading.jl:426
   in process_options(::Base.JLOptions) at ./client.jl:262
   in _start() at ./client.jl:318
ERROR: LoadError: LoadError: There was an error during testing
 in record(::Base.Test.FallbackTestSet, ::Base.Test.Error) at ./test.jl:397
 in do_test(::Base.Test.Threw, ::Expr) at ./test.jl:281
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at /Users/ranjan/.julia/v0.5/Graphs/test/runtests.jl:28 [inlined]
 in anonymous at ./<missing>:?
 in include_from_node1(::String) at ./loading.jl:426
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /Users/ranjan/.julia/v0.5/Graphs/test/dot.jl, in expression starting on line 22
while loading /Users/ranjan/.julia/v0.5/Graphs/test/runtests.jl, in expression starting on line 25

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