We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try unit tests for latest branch, there are few tests that are failing. Is master Julia 0.7/1.0 compatible?
Testing LibBSON Resolving package versions... Status `/tmp/tmpZKQMDb/Manifest.toml` [b99e7846] BinaryProvider v0.5.1 [b5cb2838] LibBSON v0.3.0+ [`~/.julia/dev/LibBSON`] [2a0f44e3] Base64 [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Base64`] [ade2ca70] Dates [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Dates`] [8ba89e20] Distributed [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Distributed`] [b77e0a4c] InteractiveUtils [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/InteractiveUtils`] [76f85450] LibGit2 [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/LibGit2`] [8f399da3] Libdl [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Libdl`] [37e2e46d] LinearAlgebra [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/LinearAlgebra`] [56ddb016] Logging [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Logging`] [d6f4376e] Markdown [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Markdown`] [44cfe95a] Pkg [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Pkg`] [de0858da] Printf [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Printf`] [3fa0cd96] REPL [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/REPL`] [9a3f8284] Random [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Random`] [ea8e919c] SHA [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/SHA`] [9e88b42a] Serialization [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Serialization`] [6462fe0b] Sockets [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Sockets`] [8dfed614] Test [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Test`] [cf7118a7] UUIDs [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/UUIDs`] [4ec0a83e] Unicode [`~/Downloads/julia-0.7.0/bin/../share/julia/stdlib/v0.7/Unicode`] Test Summary: | Pass Total BSONOID | 5 5 BSONObject _wrap_: Ptr{Nothing} @0x000000000233f890 _owner_: Core.TypeofBottom Union{} k = 16, v = 119 BSONObject: Error During Test at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:39 Test threw exception MethodError(done, (BSONObject({ "string" : "Hello, Jérôme", "anotherNull" : null, "null" : null, "regularSymbol" : "symbol", "bool" : true, "int" : 42, "minkey" : { "$minKey" : 1 }, "maxkey" : { "$maxKey" : 1 }, "binaryData" : { "$binary" : "AQIDBAUGBwgJCgsMDQ4PEBESExQ=", "$type" : "00" }, "array" : [ "hello", { "foo" : [ 56, false ] } ], "subdict" : { "key": "value" }, "double" : 0.125 }), false), 0x0000000000006c50) Expression: dict(bsonObject) == Dict{Any, Any}("string" => "Hello, Jérôme", "anotherNull" => nothing, "null" => nothing, "regularSymbol" => "symbol", "bool" => true, "int" => 42, "minkey" => :minkey, "maxkey" => :maxkey, "binaryData" => collect(map((t->begin UInt8(t) end), 1:20)), "array" => Any["hello", Dict{Any, Any}("foo" => Any[56, false])], "subdict" => Dict{Any, Any}("key" => "value"), "double" => 0.125) MethodError: no method matching done(::BSONObject, ::Bool) Closest candidates are: done(::I, !Matched::Base.LegacyIterationCompat{I,T,S}) where {I, T, S} at essentials.jl:896 done(!Matched::AbstractString, ::Integer) at deprecated.jl:53 Stacktrace: [1] iterate at ./essentials.jl:848 [inlined] [2] dict(::BSONObject) at /home/gearsad/.julia/dev/LibBSON/src/BSONObject.jl:204 [3] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:39 [inlined] [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [5] top-level scope at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:21 BSONObject _wrap_: Ptr{Nothing} @0x0000000003ef4280 _owner_: Core.TypeofBottom Union{} k = 136, v = 66 BSONObject Copy Constructor: Error During Test at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:51 Test threw exception MethodError(done, (BSONObject({ "someText" : "hello", "someValue" : -123.45600000000000307 }), false), 0x0000000000006c50) Expression: dict(bsonObject) != initialDict MethodError: no method matching done(::BSONObject, ::Bool) Closest candidates are: done(::I, !Matched::Base.LegacyIterationCompat{I,T,S}) where {I, T, S} at essentials.jl:896 done(!Matched::AbstractString, ::Integer) at deprecated.jl:53 Stacktrace: [1] iterate at ./essentials.jl:848 [inlined] [2] dict(::BSONObject) at /home/gearsad/.julia/dev/LibBSON/src/BSONObject.jl:204 [3] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:51 [inlined] [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [5] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:46 [inlined] [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [7] top-level scope at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:21 BSONObject _wrap_: Ptr{Nothing} @0x0000000003ef4280 _owner_: Core.TypeofBottom Union{} k = 136, v = 66 BSONObject Copy Constructor: Error During Test at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:52 Test threw exception MethodError(done, (BSONObject({ "someText" : "hello", "someValue" : -123.45600000000000307 }), false), 0x0000000000006c50) Expression: dict(bsonObjectCopyBad) != initialDict MethodError: no method matching done(::BSONObject, ::Bool) Closest candidates are: done(::I, !Matched::Base.LegacyIterationCompat{I,T,S}) where {I, T, S} at essentials.jl:896 done(!Matched::AbstractString, ::Integer) at deprecated.jl:53 Stacktrace: [1] iterate at ./essentials.jl:848 [inlined] [2] dict(::BSONObject) at /home/gearsad/.julia/dev/LibBSON/src/BSONObject.jl:204 [3] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:52 [inlined] [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [5] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:46 [inlined] [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [7] top-level scope at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:21 BSONObject _wrap_: Ptr{Nothing} @0x00007efd3baf9d30 _owner_: Array{UInt8}((128,)) UInt8[0x03, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00 … 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] k = 56, v = 157 BSONObject Copy Constructor: Error During Test at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:53 Test threw exception MethodError(done, (BSONObject({ "someText" : "hello" }), false), 0x0000000000006c50) Expression: dict(bsonObjectCopyGood) == initialDict MethodError: no method matching done(::BSONObject, ::Bool) Closest candidates are: done(::I, !Matched::Base.LegacyIterationCompat{I,T,S}) where {I, T, S} at essentials.jl:896 done(!Matched::AbstractString, ::Integer) at deprecated.jl:53 Stacktrace: [1] iterate at ./essentials.jl:848 [inlined] [2] dict(::BSONObject) at /home/gearsad/.julia/dev/LibBSON/src/BSONObject.jl:204 [3] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:53 [inlined] [4] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [5] macro expansion at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:46 [inlined] [6] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1079 [inlined] [7] top-level scope at /home/gearsad/.julia/dev/LibBSON/test/runtests.jl:21 ┌ Warning: `Date()` is deprecated, use `Date(1)` instead. │ caller = macro expansion at runtests.jl:51 [inlined] └ @ Core ~/.julia/dev/LibBSON/test/runtests.jl:51 Test Summary: | Pass Error Total BSONObject | 11 4 15 BSONObject Copy Constructor | 3 3 BSONObject with OID | 2 2 BSONObject with DateTime | 2 2 BSONObject from JSON | 2 2 BSONObject containing BSONObject | 2 2 ERROR: LoadError: Some tests did not pass: 11 passed, 0 failed, 4 errored, 0 broken.
The text was updated successfully, but these errors were encountered:
I think it's related to #34
Sorry, something went wrong.
No branches or pull requests
When I try unit tests for latest branch, there are few tests that are failing. Is master Julia 0.7/1.0 compatible?
The text was updated successfully, but these errors were encountered: