File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ parsers :: forall a. Parser a -> Parsers a
113
113
parsers embedded = Parsers {.. }
114
114
where
115
115
completeExpression_ =
116
- optional shebang *> whitespace *> expression <* whitespace
116
+ many shebang *> whitespace *> expression <* whitespace
117
117
118
118
shebang = do
119
119
_ <- text " #!"
Original file line number Diff line number Diff line change @@ -52,7 +52,16 @@ getTests = do
52
52
53
53
return path )
54
54
55
- failureTests <- Test.Util. discover (Turtle. chars <> " .dhall" ) failureTest (Turtle. lstree (importDirectory </> " failure" ))
55
+ failureTests <- Test.Util. discover (Turtle. chars <> " .dhall" ) failureTest (do
56
+ path <- Turtle. lstree (importDirectory </> " failure" )
57
+
58
+ let expectedSuccesses =
59
+ [ importDirectory </> " failure/unit/DontRecoverCycle.dhall"
60
+ , importDirectory </> " failure/unit/DontRecoverTypeError.dhall"
61
+ ]
62
+
63
+ Monad. guard (path `notElem` expectedSuccesses)
64
+ return path )
56
65
57
66
let testTree =
58
67
Tasty. testGroup " import tests"
You can’t perform that action at this time.
0 commit comments