Skip to content

Commit

Permalink
de-haskell98 twoMains
Browse files Browse the repository at this point in the history
  • Loading branch information
gwern committed Mar 9, 2010
1 parent 22badba commit 509cb30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions 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
Expand Down
4 changes: 3 additions & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion tests/systemTests/twoMains/test.cabal
Expand Up @@ -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
Expand Down

0 comments on commit 509cb30

Please sign in to comment.