Last active
July 27, 2016 19:39
-
-
Save bsima/042554a1a61ce18adad0ebaae60a833f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (spec/exercise string?) | |
(["" ""] ["" ""] ["Xh" "Xh"] ["oi8" "oi8"] ["Im2" "Im2"] ["7wA" "7wA"] ["" ""] ["q" "q"] ["pm1o" "pm1o"] ["01O" "01O"]) | |
user> (spec/exercise uuid?) | |
([#uuid "5c8f5e30-508e-4647-ae69-5f3861094549" #uuid "5c8f5e30-508e-4647-ae69-5f3861094549"] [#uuid "62fb51af-f75b-482c-afe9-0877aa7cf18e" #uuid "62fb51af-f75b-482c-afe9-0877aa7cf18e"] [#uuid "0a5a7b74-fad8-4b19-9866-9e62beade1f0" #uuid "0a5a7b74-fad8-4b19-9866-9e62beade1f0"] [#uuid "2bb183b6-e80c-41b4-9d4e-f878eb10b79a" #uuid "2bb183b6-e80c-41b4-9d4e-f878eb10b79a"] [#uuid "bf0c6006-9742-40e5-b704-c81502b0a6fe" #uuid "bf0c6006-9742-40e5-b704-c81502b0a6fe"] [#uuid "138bda25-4ffd-4f99-9140-551dde5a460d" #uuid "138bda25-4ffd-4f99-9140-551dde5a460d"] [#uuid "8678fedf-4239-443a-a5e9-4563b90204ac" #uuid "8678fedf-4239-443a-a5e9-4563b90204ac"] [#uuid "8dcb7b8c-985a-4834-87ea-68cf78b597d7" #uuid "8dcb7b8c-985a-4834-87ea-68cf78b597d7"] [#uuid "ed80358f-4d6d-426e-be72-2f81768dfb2a" #uuid "ed80358f-4d6d-426e-be72-2f81768dfb2a"] [#uuid "57691803-5e97-491c-b023-5b79d9c2c583" #uuid "57691803-5e97-491c-b023-5b79d9c2c583"]) | |
user> (spec/exercise | |
(spec/or :uuid uuid? :string string?)) | |
AssertionError Assert failed: Arg to one-of must be a collection of generators | |
(every? generator? generators) clojure.test.check.generators/one-of (generators.cljc:275) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment