You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stdlib/Serialization/test/runtests.jl
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# This file is a part of Julia. License is MIT: https://julialang.org/license
2
2
3
-
using Test, Random, Serialization
3
+
using Test, Random, Serialization, Base64
4
4
5
5
# Check that serializer hasn't gone out-of-frame
6
6
@test Serialization.sertag(Symbol) ==1
@@ -551,3 +551,9 @@ let f = tempname(), x = [rand(2,2), :x, "hello"]
551
551
@testdeserialize(f) == x
552
552
rm(f)
553
553
end
554
+
555
+
# a serialized function from v1.0/v1.1
556
+
let f_data ="N0pMBwQAAAA0MxMAAAAAAAAAAAEFIyM1IzYiAAAAABBYH04BBE1haW6bRCIAAAAAIgAAAABNTEy+AQIjNRUAI+AjAQAAAAAAAAAfTgEETWFpbkQBAiM1AQdSRVBMWzNdvxBTH04BBE1haW6bRAMAAAAzLAAARkYiAAAAAE7BTBsVRuIWA1YkH04BBE1haW5EAQEq4SXhFgNWJB9OAQRNYWluRJ0o4CXiFgFVKOEVAAbiAQAAAAEAAAABAAAATuIVRuA0EAEMTGluZUluZm9Ob2RlH04BBE1haW6bRB9OAQRNYWluRAECIzUBB1JFUExbM13g3xXfFeIAAAAVRuKifX5MTExMTuIp"
0 commit comments