@@ -30,16 +30,16 @@ catchException' = unsafeCoerce catchException
3030main = do
3131 let fp = Path .concat
3232
33- A .exists (fp [" examples " , " Test.purs" ]) $ \e ->
33+ A .exists (fp [" test " , " Test.purs" ]) $ \e ->
3434 log $ " Test.purs exists? " ++ show e
3535
36- file <- S .readTextFile UTF8 (fp [" examples " , " Test.purs" ])
36+ file <- S .readTextFile UTF8 (fp [" test " , " Test.purs" ])
3737 log " \n\n readTextFile sync result:"
3838 log $ file
3939
4040 catchException' (\err -> do
4141 log $ " Caught readTextFile error:\n " ++ show err
42- return " " ) $ S .readTextFile UTF8 (fp [" examples " , " does not exist" ])
42+ return " " ) $ S .readTextFile UTF8 (fp [" test " , " does not exist" ])
4343
4444 -- If an error is thrown, it's probably EEXIST, so ignore it. Should
4545 -- really check this instead.
@@ -81,15 +81,15 @@ main = do
8181 log " \n\n truncate result:"
8282 either (log <<< show) (log <<< show) x
8383
84- A .readFile (fp [" examples " , " Test.purs" ]) $ \x -> do
84+ A .readFile (fp [" test " , " Test.purs" ]) $ \x -> do
8585 log " \n\n readFile result:"
8686 either (log <<< show) (log <<< show) x
8787
88- A .readTextFile UTF8 (fp [" examples " , " Test.purs" ]) $ \x -> do
88+ A .readTextFile UTF8 (fp [" test " , " Test.purs" ]) $ \x -> do
8989 log " \n\n readTextFile result:"
9090 either (log <<< show) log x
9191
92- A .stat (fp [" examples " , " Test.purs" ]) $ \x -> do
92+ A .stat (fp [" test " , " Test.purs" ]) $ \x -> do
9393 log " \n\n stat:"
9494 case x of
9595 Left err -> log $ " Error:" ++ show err
0 commit comments