summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`