tasty-tmux 0.1.0.1 → 0.1.0.2
raw patch · 3 files changed
+13/−3 lines, 3 filesnew-uploaderPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Test.Tasty.Tmux: Not :: Condition -> Condition
Files
- CHANGELOG.md +8/−0
- src/Test/Tasty/Tmux.hs +2/−0
- tasty-tmux.cabal +3/−3
+ CHANGELOG.md view
@@ -0,0 +1,8 @@+Tasty-Tmux changelog+--------------------++0.1.0.2+-------++API changes:+* A new constructor was added to the `Condition` to assert the inverse.
src/Test/Tasty/Tmux.hs view
@@ -229,6 +229,7 @@ = Unconditional | Substring B.ByteString | Regex B.ByteString+ | Not Condition deriving (Show) -- | A captured pane. For now this just contains the string content,@@ -435,6 +436,7 @@ checkCondition Unconditional = const True checkCondition (Substring s) = (s `B.isInfixOf`) checkCondition (Regex re) = (=~ re)+checkCondition (Not cond) = not . checkCondition cond -- | Assert that the capture satisfies a condition assertCondition :: (MonadIO m) => Condition -> Capture -> m ()
tasty-tmux.cabal view
@@ -1,5 +1,5 @@ name: tasty-tmux-version: 0.1.0.1+version: 0.1.0.2 synopsis: Terminal user acceptance testing (UAT) via tmux description:@@ -17,8 +17,8 @@ category: Testing build-type: Simple cabal-version: >=1.10-extra-source-files:- README.md+extra-source-files: README.md,+ CHANGELOG.md homepage: https://github.com/purebred-mua/tasty-tmux bug-reports: https://github.com/purebred-mua/tasty-tmux/issues