summaryrefslogtreecommitdiff
path: root/tests/Network
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-20 21:12:46 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-20 21:12:46 +0400
commit4693ed53ec5cdbf0b2fa993d169c96e45f2dce91 (patch)
treeb73e40e1279b72e36bb235003f30ea4d89746b81 /tests/Network
parent17be47e8f10907ff1479a83595ef5fb920b6acbd (diff)
parent268a6e1b161ffae29c32a0a5cbc5b62158d67956 (diff)
Merge branch 'dev' of https://github.com/DanielG/bittorrent
Diffstat (limited to 'tests/Network')
-rw-r--r--tests/Network/BitTorrent/Core/PeerAddrSpec.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Network/BitTorrent/Core/PeerAddrSpec.hs b/tests/Network/BitTorrent/Core/PeerAddrSpec.hs
index e5850998..1bc8d4b4 100644
--- a/tests/Network/BitTorrent/Core/PeerAddrSpec.hs
+++ b/tests/Network/BitTorrent/Core/PeerAddrSpec.hs
@@ -171,8 +171,8 @@ spec = do
171 171
172 172
173 it "properly bencoded (ipv4)" $ do 173 it "properly bencoded (ipv4)" $ do
174 BE.decode "d7:peer id20:01234567890123456789\ 174 BE.decode "d2:ip11:168.192.0.1\
175 \2:ip11:168.192.0.1\ 175 \7:peer id20:01234567890123456789\
176 \4:porti6881e\ 176 \4:porti6881e\
177 \e" 177 \e"
178 `shouldBe` 178 `shouldBe`
@@ -181,8 +181,8 @@ spec = do
181 6881) 181 6881)
182 182
183 it "properly bencoded (ipv6)" $ do 183 it "properly bencoded (ipv6)" $ do
184 BE.decode "d7:peer id20:01234567890123456789\ 184 BE.decode "d2:ip3:::1\
185 \2:ip3:::1\ 185 \7:peer id20:01234567890123456789\
186 \4:porti6881e\ 186 \4:porti6881e\
187 \e" 187 \e"
188 `shouldBe` 188 `shouldBe`