stest/instrument never throws or :ret and :fn

Description

When I replace the spec for the following function:

from:

to

it does not throw. As a matter of fact, I didn't get it to throw on any value that I give the :ret and :fn function. Removing the record with a plain map did not make a difference...

Environment

None

Activity

Show:
David Nolen
August 16, 2016, 4:24 PM

This is by design.

import
August 16, 2016, 4:34 PM

Comment made by: yeehaa

Thanks for the quick reply, but it is not clear to me why? Can you maybe point me to an explanation?

Cheer!

import
August 16, 2016, 5:06 PM

Comment made by: yeehaa

Never mind, found it. Hadn't noticed it before...

Declined

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

Priority

Minor