Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

symbol hash code sanity check

  • Loading branch information...
commit 5bfeabf21c0dda72001a3a580fdf012dc1f96bec 1 parent 90e52a8
@swannodette swannodette authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/cljs/cljs/core_test.cljs
View
5 test/cljs/cljs/core_test.cljs
@@ -1859,5 +1859,10 @@
(assert (= (char 65) \A))
(assert (= (char \A) \A))
+ ;; compile time run symbol hash codes
+
+ (assert (= (hash 'foo) (hash (symbol "foo"))))
+ (assert (= (hash 'foo/bar) (hash (symbol "foo" "bar"))))
+
:ok
)
Please sign in to comment.
Something went wrong with that request. Please try again.