Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. hspec questions (Mark Volkmann)
----------------------------------------------------------------------
Message: 1
Date: Sat, 6 Jan 2018 07:22:18 -0600
From: Mark Volkmann <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] hspec questions
Message-ID:
<CAFfRWnUoav8=Oeo4Pv+x9axPc8fkowJeWA0MX_3B=ghxgve...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
It seems that I can use either "before" or "before_" to specify a function
to run before each of my tests.
However, to specify a function to run after each of my tests I can use
"after_", but not "after".
Is that correct?
Also, I can't get "around_" or "around" to work. The example at
https://hspec.github.io/writing-specs.html uses the bracket function which
I hadn't seen before, but it doesn't work for me. I'd love to see another
example of this.
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20180106/844b4429/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 115, Issue 4
*****************************************