[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tordnsel/master] make the tests compile



commit 461d2d89e915e76d4e722eb70d2973642ae3de97
Author: David Kaloper <david@xxxxxxxx>
Date:   Wed Oct 23 03:52:21 2013 +0200

    make the tests compile
---
 src/TorDNSEL/Config/Tests.hs     | 1 +
 src/TorDNSEL/DNS/Server/Tests.hs | 1 +
 src/TorDNSEL/DNS/Tests.hs        | 2 +-
 src/TorDNSEL/Directory/Tests.hs  | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/TorDNSEL/Config/Tests.hs b/src/TorDNSEL/Config/Tests.hs
index 54460a0..e7b9a54 100644
--- a/src/TorDNSEL/Config/Tests.hs
+++ b/src/TorDNSEL/Config/Tests.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE OverloadedStrings  #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      : TorDNSEL.Config.Tests
diff --git a/src/TorDNSEL/DNS/Server/Tests.hs b/src/TorDNSEL/DNS/Server/Tests.hs
index 2293e4b..eebea2a 100644
--- a/src/TorDNSEL/DNS/Server/Tests.hs
+++ b/src/TorDNSEL/DNS/Server/Tests.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE OverloadedStrings  #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      : TorDNSEL.DNS.Server.Tests
diff --git a/src/TorDNSEL/DNS/Tests.hs b/src/TorDNSEL/DNS/Tests.hs
index 42f7bb1..0c0eede 100644
--- a/src/TorDNSEL/DNS/Tests.hs
+++ b/src/TorDNSEL/DNS/Tests.hs
@@ -16,7 +16,7 @@ module TorDNSEL.DNS.Tests (tests) where
 
 import Control.Monad (replicateM)
 import qualified Data.ByteString as B
-import qualified Data.ByteString.Base as B
+import qualified Data.ByteString.Internal as B (c2w)
 import qualified Data.ByteString.Lazy as L
 import Test.HUnit (Test(..), (@=?))
 
diff --git a/src/TorDNSEL/Directory/Tests.hs b/src/TorDNSEL/Directory/Tests.hs
index f9b8c45..66b95ba 100644
--- a/src/TorDNSEL/Directory/Tests.hs
+++ b/src/TorDNSEL/Directory/Tests.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE OverloadedStrings  #-}
 -----------------------------------------------------------------------------
 -- |
 -- Module      : TorDNSEL.Directory.Tests

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits