Skip to content

Commit 944835d

Browse files
committed
fix
1 parent 16dded2 commit 944835d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/DataSets.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function Base.show(io::IO, ::MIME"text/plain", d::DataSet)
172172
end
173173
catch e
174174
@debug "Failed to serialize DataSet to TOML" exception = (e, catch_backtrace())
175-
print(io, "\n<unserializable>")
175+
print(io, "\n... <unserializable>")
176176
end
177177
end
178178

test/runtests.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ end
8787
ds = dataset(proj, "a_text_file")
8888
let s = sprint(show, "text/plain", ds)
8989
endswith(s, "\n... <unserializable>")
90-
parsed = TOML.parse(s)
91-
@test parsed isa Dict
92-
@test parsed["name"] == "a_text_file"
93-
@test parsed["uuid"] == "b498f769-a7f6-4f67-8d74-40b770398f26"
94-
@test parsed["foo"] == "<unserializable>"
95-
@test parsed["bar"] == [1, 2, "<unserializable>", Dict("x" => "<unserializable>", "y" => "y")]
96-
@test parsed["baz"] == Dict("x" => "<unserializable>", "y" => "y")
9790
end
9891
end
9992

0 commit comments

Comments
 (0)