From b1f77d7e6dcf03dd20c36e1a10429e1b2b9900b1 Mon Sep 17 00:00:00 2001 From: Julien Tanguy Date: Tue, 14 Apr 2015 18:18:26 +0200 Subject: Refactor tests --- src/Crypto/Macaroon/Serializer/Base64.hs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/Crypto/Macaroon/Serializer') diff --git a/src/Crypto/Macaroon/Serializer/Base64.hs b/src/Crypto/Macaroon/Serializer/Base64.hs index 6fc8fcb..f6527c2 100644 --- a/src/Crypto/Macaroon/Serializer/Base64.hs +++ b/src/Crypto/Macaroon/Serializer/Base64.hs @@ -16,22 +16,22 @@ module Crypto.Macaroon.Serializer.Base64 ( , deserialize ) where -import Control.Applicative -import Control.Monad -import qualified Data.ByteString as BS -import qualified Data.ByteString.Base64.URL as B64 -import qualified Data.ByteString.Char8 as B8 -import Data.Attoparsec.ByteString +import Control.Applicative +import Control.Monad +import Crypto.Macaroon.Internal +import Data.Attoparsec.ByteString import qualified Data.Attoparsec.ByteString.Char8 as A8 import Data.Bits +import qualified Data.ByteString as BS +import qualified Data.ByteString.Base64.URL as B64 +import qualified Data.ByteString.Char8 as B8 import Data.Char import Data.Hex import Data.Int import Data.List import Data.Maybe -import Data.Word import Data.Serialize -import Crypto.Macaroon.Internal +import Data.Word -- | Serialize a macaroon in an URL-safe Base64 encoding -- cgit v1.2.3