diff options
Diffstat (limited to 'src/Run')
-rw-r--r-- | src/Run/Monad.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Run/Monad.hs b/src/Run/Monad.hs index f605dfb..3739e2e 100644 --- a/src/Run/Monad.hs +++ b/src/Run/Monad.hs @@ -92,7 +92,7 @@ instance MonadError Failed TestRun where instance MonadEval TestRun where askDictionary = asks (tsVars . snd) - withVar name value = local (fmap $ \s -> s { tsVars = ( name, someConstValue value ) : tsVars s }) + withDictionary f = local (fmap $ \s -> s { tsVars = f (tsVars s) }) instance MonadOutput TestRun where getOutput = asks $ teOutput . fst |