   (let [config (read-config "test/aero/config.edn")]
     (is (= nil (config :falsey-user-return)))))
 
-#?(:clj
-   (deftest ref-in-set-test
-     (is (= #{10} (:bar
-                    (read-config (java.io.StringReader.
-                                   "{:foo 10 :bar #{#ref [:foo]}}")))))))
+(deftest ref-in-set-test
+  (is (= #{10}
+         (:bar
+           (read-config
+             (string-reader
+               "{:foo 10 :bar #{#ref [:foo]}}"))))))
 
 (deftest or-incomplete-child
   (let [config-str "{:x \"foo\"

                   :junk6 \"6\"
                   :junk7 \"7\"
                   :junk8 \"8\"}"
        config (#?(:cljs source-logging-push-back-reader
                   :clj java.io.StringReader.) config-str)]
    (is (= "foo" (:x (read-config config))))))

(deftest or-dangling-ref
  (let [config-str "{:y #or [#ref [:x] \"bar\"]}"
        config (#?(:cljs source-logging-push-back-reader
                   :clj java.io.StringReader.) config-str)]
    (is (= "bar" (:y (read-config config))))))

(deftest meta-preservation-test

  #?(:clj (System/getenv (str s)))
  #?(:cljs (gobj/get js/process.env s)))

(defn- string-reader
  [str]
  (#?(:cljs source-logging-push-back-reader
      :clj java.io.StringReader.) str))

(def network-call-count (atom 0))

(defmethod reader 'expensive-network-call
