Skip to content

Commit

Permalink
refactor(runtime): shorten import lists for test modules
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-stevan-andjelkovic committed Jun 4, 2021
1 parent 6d0dbe5 commit 68cd44f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 23 deletions.
9 changes: 6 additions & 3 deletions src/runtime-prototype/src/StuntDouble.hs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
module StuntDouble (module X) where

import StuntDouble.ActorMap as X
import StuntDouble.Actor.State as X
import StuntDouble.ActorMap as X
import StuntDouble.Datatype as X
import StuntDouble.Message as X
import StuntDouble.Envelope as X
import StuntDouble.Frontend.Http as X
import StuntDouble.Message as X
import StuntDouble.Random as X
import StuntDouble.Reference as X
import StuntDouble.Time as X
import StuntDouble.Transport as X
import StuntDouble.Transport.Http as X
import StuntDouble.Reference as X
3 changes: 2 additions & 1 deletion src/runtime-prototype/src/StuntDouble/Frontend/Http.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import Network.HTTP.Types.Status
import qualified Network.Wai as Wai
import Network.Wai.Handler.Warp

import StuntDouble
import StuntDouble.ActorMap
import StuntDouble.Message
import StuntDouble.Reference

------------------------------------------------------------------------

Expand Down
10 changes: 1 addition & 9 deletions src/runtime-prototype/test/StuntDouble/ActorMapTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ import Control.Concurrent.Async
import Control.Exception
import Test.HUnit hiding (State)

import StuntDouble.Actor.State
import StuntDouble.ActorMap
import StuntDouble.Datatype
import StuntDouble.Transport
import StuntDouble.FreeMonad
import StuntDouble.Message
import StuntDouble.Random
import StuntDouble.Reference
import StuntDouble.Time
import StuntDouble

------------------------------------------------------------------------

Expand Down
10 changes: 1 addition & 9 deletions src/runtime-prototype/test/StuntDouble/FrontendTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ import Control.Concurrent
import Control.Concurrent.Async
import Test.HUnit

import StuntDouble.ActorMap
import StuntDouble.Message
import StuntDouble.Reference
import StuntDouble.Actor.State
import StuntDouble.Datatype
import StuntDouble.Random
import StuntDouble.Time
import StuntDouble.Transport
import StuntDouble.Frontend.Http
import StuntDouble

------------------------------------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion src/runtime-prototype/test/StuntDouble/TransportTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module StuntDouble.TransportTest where
import Control.Concurrent.Async
import Test.HUnit

import StuntDouble.Transport
import StuntDouble

------------------------------------------------------------------------
Expand Down

0 comments on commit 68cd44f

Please sign in to comment.