-
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Note that this still leaves `import Socket` so `using Compat.Sockets` will still work, although this should be deprecated in the future.
- Loading branch information
1 parent
c3c2ef9
commit 73b1f18
Showing
4 changed files
with
19 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# tests of functionality to be deprecated | ||
|
||
# 0.7.0-DEV.3666 | ||
module TestSockets | ||
using Compat | ||
using Compat.Sockets | ||
using Compat.Test | ||
|
||
@test isdefined(@__MODULE__, :UDPSocket) | ||
@test isdefined(@__MODULE__, :connect) | ||
@test isdefined(@__MODULE__, :listen) | ||
@test isdefined(@__MODULE__, :recv) | ||
|
||
@test ip"127.0.0.1".host == UInt32(2130706433) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters