Skip to content

Commit

Permalink
Merge pull request #150 from rened/tcpsocket
Browse files Browse the repository at this point in the history
add TCPSocket -> TcpSocket alias
  • Loading branch information
stevengj committed Oct 5, 2015
2 parents 91f80df + f29ab1b commit 95b2523
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,8 @@ end
if VERSION < v"0.4.0-dev+436"
export UDPSocket
const UDPSocket = UdpSocket
export TCPSocket
const TCPSocket = Base.TcpSocket
end

if VERSION < v"0.4.0-dev+2340"
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ end
f141(::Type{OutOfMemoryError}) = true
f141(::Type{Base64EncodePipe}) = true
f141(::Type{UDPSocket}) = true
f141(::Type{TCPSocket}) = true

@test f141(OutOfMemoryError)
@test f141(Base64EncodePipe)
Expand Down

0 comments on commit 95b2523

Please sign in to comment.