@@ -25,13 +25,13 @@ main = do
2525 , "--src-dir=IO"
2626 , "--src-dir=Elm-Test"
2727 , "--src-dir=" ++ "tests" </> "libraries"
28− , "Test.elm"
28+ , testFile <.> "elm"
2929 ]
3030
3131 -- run tests
3232 let files = [ "IO" </> "share" </> "prescript.js"
3333 , Elm.runtime
34− , "build" </> "Test.js"
34+ , "build" </> testFile <.> "js"
3535 , "IO" </> "share" </> "handler.js"
3636 ]
3737 testRunner = "build" </> "TestRunner.js"
@@ -41,6 +41,8 @@ main = do
4141 removeDirectoryRecursive "cache"
4242 removeDirectoryRecursive "build"
4343 exitWith exitCode
44+ where
45+ testFile = "tests" </> "libraries" </> "Test"
4446
4547runCmd :: String -> [String] -> IO ()
4648runCmd cmd args = do