Skip to content

Instantly share code, notes, and snippets.

@danielglauser
Created September 22, 2014 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielglauser/bfba8b272a47ab3d547f to your computer and use it in GitHub Desktop.
Save danielglauser/bfba8b272a47ab3d547f to your computer and use it in GitHub Desktop.
Refactor this:
(is (= false (amqp/exchange-exists? *amqp* "test")))
(is (= true (amqp/exchange-exists? *amqp* "test")))
What's wrong with this line?
(is (= (false? (contains? file :file/message)))))
https://github.com/pjstadig/humane-test-output
How do you ensure all the elements of a seq are equal?
(apply = [...])
Remove nil values from a map. Now remove keys with nil values and empty strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment