chuchu 0.0.0.0 → 0.0.0.1
raw patch · 4 files changed
+10/−7 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Test/Chuchu.hs +3/−3
- Test/Chuchu/Parser.hs +4/−1
- Test/Chuchu/Types.hs +1/−1
- chuchu.cabal +2/−2
Test/Chuchu.hs view
@@ -59,10 +59,10 @@ --defs -- = do -- Given--- ("that I have entered " *> number <* " into the calculator")+-- (\"that I have entered \" *> number <* \" into the calculator\") -- enterNumber--- When "I press divide" $ const divide--- Then ("the result should be " *> number <* " on the screen")+-- When \"I press divide\" $ const divide+-- Then (\"the result should be \" *> number <* \" on the screen\") -- $ \\n -- -> do -- d <- getDisplay
Test/Chuchu/Parser.hs view
@@ -25,7 +25,10 @@ import Test.Chuchu.Email instance IsString (Parser a) where- fromString s = void (string s) >> return undefined+ fromString s+ = void (string s)+ >> return+ (error $ "The return value of string parsers should not be used") -- | Parses a floating point number, with the same syntax as accepted by -- Haskell.
Test/Chuchu/Types.hs view
@@ -36,7 +36,7 @@ instance Monad (ChuchuM m) where return _ = Nil- step >>= k = Cons step $ k undefined+ step >>= k = Cons step $ k $ error "(>>=): ChuchuM does not support 'return'." -- | Converts the Monad into a single 'Parser' that executes the specified -- action if the parser is executed correctly. It includes an 'eof' on the
chuchu.cabal view
@@ -1,5 +1,5 @@ name: chuchu-version: 0.0.0.0+version: 0.0.0.1 cabal-version: >= 1.8 build-type: Simple license: OtherLicense@@ -10,7 +10,7 @@ stability: experimental homepage: http://github.com/marcotmarcot/chuchu bug-reports: http://github.com/marcotmarcot/chuchu/issues-synopsis: Behaviour Driven Development for Haskell+synopsis: Behaviour Driven Development like Cucumber for Haskell description: Chuchu is a system similar to Ruby's Cucumber for Behaviour Driven Development. It works with a language similar to Cucumber's Gherkin, which is