title: Can't take value of a macro
body: <p>I have created a project using lein command.
  This is my source file:</p>
  
  <pre><code>(ns database.core)
  (defn movies[na rent qty]
    (spit "e.txt" (.toString [{:na na :rent rent :qty qty}]))
    (read-string (slurp "e.txt")))
  </code></pre>
  
  <p>This is my project file:</p>
  
  <pre><code>(ns database.core-test
    (:require [clojure.test :refer :all]
              [database.core :refer :all]))
  
  (deftest movies-test
    testing "movies"
    (let [jun (movies "Dark-knight" 12 6)]
      (is (= (get-in jun [0 :na]) "Dark-knight"))
      (is (= (get-in jun [0 :rent]) 12))
      (is (= (get-in jun [0 :qty]) 6))))
  </code></pre>
  
  <p>But when I try to run it i keep getting this error.
  clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Can't take value of a macro: #'clojure.test/testing, compiling:(C:\Users\A\database\test\database\core_test.clj:5:1)</p>
  
  <p>What could be the possible reasons for this error?</p>