Skip to content

Commit

Permalink
Fixing test prompt for interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkato committed Jun 4, 2021
1 parent 91d2ba2 commit 9d5f89b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ genTestTarget
=> InitFlags
-> InstalledPackageIndex
-> m (Maybe TestTarget)
genTestTarget flags pkgs = initializeTestSuitePrompt (flags {initializeTestSuite = NoFlag}) >>= go
genTestTarget flags pkgs = initializeTestSuitePrompt flags >>= go
where
go initialized
| not initialized = return Nothing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ createProjectTest pkgIx srcDb = testGroup "createProject tests"
, dependencies = Flag []
}

case (_runPrompt $ createProject silent pkgIx srcDb dummyFlags') (fromList ["y", "3", "quxTest/Main.hs"]) of
case (_runPrompt $ createProject silent pkgIx srcDb dummyFlags') (fromList ["3", "quxTest/Main.hs"]) of
Right (ProjectSettings opts desc (Just lib) (Just exe) (Just test), _) -> do
_optOverwrite opts @?= False
_optMinimal opts @?= False
Expand Down

0 comments on commit 9d5f89b

Please sign in to comment.