Skip to content

Instantly share code, notes, and snippets.

@shriphani
Created April 2, 2016 06:14
Show Gist options
  • Save shriphani/d9351d062f2f5c211879ef87c13277ac to your computer and use it in GitHub Desktop.
Save shriphani/d9351d062f2f5c211879ef87c13277ac to your computer and use it in GitHub Desktop.
➜ thrown-test git:(master) ✗ lein test
lein test thrown-test.core-test
lein test :only thrown-test.core-test/a-test
FAIL in (a-test) (core_test.clj:24)
Is the exception caught
expected: (thrown? Exception (throw-not-caught))
actual: nil
Ran 1 tests containing 2 assertions.
1 failures, 0 errors.
Tests failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment