Public Vars

Back

unquote (clj)

(source)

variable

Examples

mfikes/tach
(deftest render-require-test-runner-main-test
  (is (= "(clojure.core/require (quote foo.core))"
         (tach/render-require-test-runner-main 'foo.core))))

(deftest unquoted-test
  (is (= 'foo (tach/unquoted 'foo)))
  (is (= 'foo (tach/unquoted ''foo))))
behrica/opencpu-clj
(ns opencpu-clj.core-test
   (:require [midje.sweet :refer [fact facts tabular]]
             [opencpu-clj.core :refer :all]
             [clojure.core.matrix :refer [shape]]
             [opencpu-clj.test-support :refer [server-url j]]))

(fact "can pass unquoted symbols"
      (count (:result (call-function server-url "stats" "lm" {:formula "mpg~am" :data "mtcars"}))) => 15)