Skip to content

Commit

Permalink
move PackfileSpec to Binary/PackfileSpec to reflect src/ directory st…
Browse files Browse the repository at this point in the history
…ructure
  • Loading branch information
KtorZ committed Mar 7, 2019
1 parent 4a3a453 commit 58a1c29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cardano-wallet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ test-suite unit
other-modules:
Cardano.Wallet.BinaryHelpers
, Cardano.Wallet.BinarySpec
, Cardano.Wallet.PackfileSpec
, Cardano.Wallet.Binary.PackfileSpec
, Cardano.Wallet.PrimitiveSpec
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}

module Cardano.Wallet.PackfileSpec (spec) where
module Cardano.Wallet.Binary.PackfileSpec (spec) where

import Prelude

import qualified Data.ByteString.Char8 as B8
import qualified Data.ByteString.Lazy.Char8 as L8

import Data.Either
( fromRight, isRight )
import Test.Hspec
( Spec, describe, it, shouldBe, shouldSatisfy )

import Cardano.Wallet.Binary
( decodeBlock )
import Cardano.Wallet.Binary.Packfile
Expand All @@ -20,6 +10,14 @@ import Cardano.Wallet.BinaryHelpers
( unsafeDeserialiseFromBytes )
import Cardano.Wallet.Primitive
( Block (..), BlockHeader (..) )
import Data.Either
( fromRight, isRight )
import Test.Hspec
( Spec, describe, it, shouldBe, shouldSatisfy )

import qualified Data.ByteString.Char8 as B8
import qualified Data.ByteString.Lazy.Char8 as L8


-- version 1 header
packFileHeader :: L8.ByteString
Expand Down

0 comments on commit 58a1c29

Please sign in to comment.