swh:1:snp:a72e953ecd624a7df6e6196bbdd05851996c5e40
Raw File
Tip revision: 5c7875626d22f737161a44a4fba6c0a00a62c698 authored by Stefan Karpinski on 03 July 2013, 03:39:57 UTC
Merge pull request #3610 from kmsquire/release-0.1_pkg
Tip revision: 5c78756
remote.jl
# Check that serializer hasn't gone out-of-frame
@test Base.ser_tag[Symbol] == 2
@test Base.ser_tag[()] == 49
@test Base.ser_tag[false] == 125

# issue #1770
let
    a = ['T', 'e', 's', 't']
    f = memio()
    serialize(f, a)
    seek(f, 0)
    @test deserialize(f) == a
    f = IOString()
    serialize(f, a)
    seek(f, 0)
    @test deserialize(f) == a
end
back to top