Calling defspecs as functions throws an NPE

Description

The following behavior was introduced in commit 3641146.

Environment

None

Activity

Show:
Michael Glaesemann
January 19, 2018, 3:22 AM

Remove testing prn.

gfredericks
January 25, 2018, 3:04 AM

I just tried the code snippet from the description on commit 3641146^ again (the one just before the bug was introduced) and noticed that it doesn't actually print anything, which is interesting.

The stack trace in the other versions must mean that this code is being run, but somehow not resulting in anything. I suppose clojure.test somehow disables test output when you're not in a normal test run.

I feel like that's not my daily experience, but I dunno. I'm not going to dig into it.

The v2 patch is on master; thanks!

gfredericks
January 25, 2018, 3:05 AM

Oh I see it does print now that this has been applied. I'm apparently pretty confused and definitely not going to dig into it any further this time.

Completed

Assignee

gfredericks

Reporter

gfredericks

Labels

None

Approval

None

Patch

None

Priority

Major