   (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\"

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

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

(defmethod reader 'expensive-network-call

               (::foo
                 (meta
                   (read-config
                     (string-reader
                       (binding [*print-meta* true]
                         (pr-str (with-meta ds {::foo ds}))))))))
    []
    {}
    #{}
