@@ -94,19 +94,19 @@ spec = do
94
94
(" foo\n -- need to include this too\n bar\n " :: Text ) ~> parseList 1
95
95
`shouldParse` [" foo" , " bar" ]
96
96
describe " Should Succeed" $
97
- it " list with a comment" $
97
+ it " list2 with a comment" $
98
98
(" foo -- need to include this too\n bar\n " :: Text ) ~> parseList 1
99
99
`shouldParse` [" foo" , " bar" ]
100
100
describe " Should Succeed" $
101
- it " list with a comment" $
101
+ it " list3 with a comment" $
102
102
(" foo -- need to include this too\n bar" :: Text ) ~> parseList 1
103
103
`shouldParse` [" foo" , " bar" ]
104
104
describe " Should Succeed" $
105
- it " list with a comment" $
105
+ it " list4 with a comment" $
106
106
(" foo\n bar\n -- need to include this too" :: Text ) ~> parseList 1
107
107
`shouldParse` [" foo" , " bar" ]
108
108
describe " Should Succeed" $
109
- it " list with a comment" $
109
+ it " list5 with a comment" $
110
110
(" foo\n bar -- need to include this too" :: Text ) ~> parseList 1
111
111
`shouldParse` [" foo" , " bar" ]
112
112
describe " Should Succeed" $
@@ -121,9 +121,13 @@ spec = do
121
121
(" other-modules: test\n default-language: Haskell2011" :: Text ) ~?> field 0 " other-modules" parseList
122
122
`leavesUnconsumed` " default-language: Haskell2011"
123
123
describe " Should Succeed" $
124
- it " succesfully parses empty other-modules " $
124
+ it " succesfully parses empty other-modules1 " $
125
125
(" other-modules: test\n default-language: Haskell2011" :: Text ) ~?> field 0 " other-modules" parseList
126
126
`leavesUnconsumed` " default-language: Haskell2011"
127
+ describe " Should Succeed" $
128
+ it " succesfully parses empty other-modules2" $
129
+ (" other-modules: \n build-depends:\n base >=4.9 && <5" :: Text ) ~> field 0 " other-modules" parseList
130
+ `shouldParse` []
127
131
128
132
exeSection :: Text
129
133
exeSection =
0 commit comments