1diff -ru orig/Test/Tasty/Options.hs new/Test/Tasty/Options.hs
2--- orig/Test/Tasty/Options.hs 2013-10-14 09:05:01.591238893 +0300
3+++ new/Test/Tasty/Options.hs 2013-10-14 09:05:01.000000000 +0300
6 {-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable,
7 ExistentialQuantification, GADTs,
8 OverlappingInstances, FlexibleInstances, UndecidableInstances,
12 import Options.Applicative
13+#if MIN_VERSION_optparse_applicative(0,6,0)
14+import Options.Applicative.Types
17 -- | An option is a data type that inhabits the `IsOption` type class.
18 class Typeable v => IsOption v where
20 name = untag (optionName :: Tagged v String)
21 helpString = untag (optionHelp :: Tagged v String)
23+#if MIN_VERSION_optparse_applicative(0,6,0)
24+ ReadM . maybe (Left (ErrorMsg $ "Could not parse " ++ name)) Right .
26 maybe (Left (ErrorMsg $ "Could not parse " ++ name)) Right .
31diff -ru orig/Test/Tasty/UI.hs new/Test/Tasty/UI.hs
32--- orig/Test/Tasty/UI.hs 2013-10-14 09:05:01.591238893 +0300
33+++ new/Test/Tasty/UI.hs 2013-10-14 09:05:01.000000000 +0300
36 hSetBuffering stdout NoBuffering
38+ -- Do not retain the reference to the tree more than necessary
39+ _ <- evaluate alignment
42 flip execStateT initialState $ getApp $ fst $
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list