From 509cb3056d219c5301f3234fee87239f362f2f99 Mon Sep 17 00:00:00 2001 From: gwern0 Date: Tue, 9 Mar 2010 01:53:28 +0000 Subject: [PATCH] de-haskell98 twoMains --- tests/systemTests/twoMains/MainA.hs | 6 ++++-- tests/systemTests/twoMains/MainB.hs | 4 +++- tests/systemTests/twoMains/test.cabal | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/systemTests/twoMains/MainA.hs b/tests/systemTests/twoMains/MainA.hs index d8bf974c43c..8b13f74c990 100644 --- a/tests/systemTests/twoMains/MainA.hs +++ b/tests/systemTests/twoMains/MainA.hs @@ -1,6 +1,8 @@ module Main where -import System -import Control.Monad(when) + +import System.Environment (getArgs) +import Control.Monad (when) + main = do print 'a' args <- getArgs let isB = head args diff --git a/tests/systemTests/twoMains/MainB.hs b/tests/systemTests/twoMains/MainB.hs index 56480893bdf..51a02c8ac0a 100644 --- a/tests/systemTests/twoMains/MainB.hs +++ b/tests/systemTests/twoMains/MainB.hs @@ -1,6 +1,8 @@ module Main where -import System + +import System.Environment (getArgs) import Control.Monad (when) + main = do print 'b' args <- getArgs let isB = head args diff --git a/tests/systemTests/twoMains/test.cabal b/tests/systemTests/twoMains/test.cabal index 8ab6cd5d7e9..cd8e252f201 100644 --- a/tests/systemTests/twoMains/test.cabal +++ b/tests/systemTests/twoMains/test.cabal @@ -2,7 +2,7 @@ Name: test Version: 1.0 copyright: filler for test suite maintainer: filler for test suite -build-depends: base, haskell98 +build-depends: base synopsis: filler for test suite Executable: testA