on master help sign in
Update tests to reflect the change of idris_readStr
commitc9a05f4d5a9f17c3cfcbab32f338f3f58a10722c authorMort Yao <mort.yao@gmail.com> dateTue 14 Apr 2015, 15:11 (12 years ago) parentd2074d8
4 files changed+3−3
test/dsl002/expected−1 test/effects001/expected+1−1 test/io001/expected+1 test/io001/test004.idr+1−1
test/dsl002/expected−1
@@ -1,2 +1 @@
11foo
2−
test/effects001/expected+1−1
@@ -1,4 +1,4 @@
1−["HELLO!!!\n", "WORLD!!!\n", ""]
1+["HELLO!!!", "WORLD!!!", ""]
223
3315
44Answer: 99
test/io001/expected+1
@@ -13,4 +13,5 @@ World!
13133
14144
1515Last line
16+
1617---
test/io001/test004.idr+1−1
@@ -13,7 +13,7 @@ dumpFile fn = do { h <- openFile fn Read
1313 x <- feof h
1414 return (not x) })
1515 (do { l <- fread h
16− putStr l })
16+ putStrLn l })
1717 closeFile h }
1818
1919main : IO ()