aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/unit_test/ProgramToCompileInfoTest.hs
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/unit_test/ProgramToCompileInfoTest.hs')
-rw-r--r--bootstrap/unit_test/ProgramToCompileInfoTest.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/unit_test/ProgramToCompileInfoTest.hs b/bootstrap/unit_test/ProgramToCompileInfoTest.hs
index 20d7131..f17a3df 100644
--- a/bootstrap/unit_test/ProgramToCompileInfoTest.hs
+++ b/bootstrap/unit_test/ProgramToCompileInfoTest.hs
@@ -3,8 +3,8 @@ module ProgramToCompileInfoTest
)
where
-import BuildModel ( Source(..)
- , CompileTimeInfo(..)
+import BuildModel ( CompileTimeInfo(..)
+ , Source(..)
, constructCompileTimeInfo
)
import Hedge ( Result
@@ -19,7 +19,7 @@ import System.FilePath ( (</>) )
test :: IO (Test ())
test = return $ givenInput
- "a program and other sources"
+ "a program and available modules"
(exampleProgram, availableModules)
[ whenTransformed
"its compileTimeInfo is determined"
@@ -39,7 +39,7 @@ exampleProgram = Program
, programModulesUsed = ["module1", "module2", "module3"]
}
-programSourceFileName' :: String
+programSourceFileName' :: FilePath
programSourceFileName' = "some" </> "file" </> "somewhere.f90"
availableModules :: [String]