          :def-emits-var true}
         (fn [{:keys [error value]}]
           (is (nil? error))
-          (is (== (js/cljs.user.foo 1 2) 3))
+          (is (== 3 (js/cljs.user.foo 1 2)))
           (inc! l))))))
 
 #_(deftest test-eval-str-with-require

      (cljs/compile-str st "(+ 1 1)"
        (fn [{:keys [error value]}]
          (is (nil? error))
          (is (= value "(1 + 1);\n"))
          (inc! l)))
      (cljs/compile-str st "(fn [])" nil
        {:context :expr}
        (fn [{:keys [error value]}]
          (is (nil? error))
          (is (= value "(function (){\nreturn null;\n})"))
          (inc! l)))
      (cljs/compile-str st "(if cljs.core.first 1 2)" nil
        {:context :expr}
        (fn [{:keys [error value]}]
          (is (nil? error))
          (is (= value "(cljs.core.truth_(cljs.core.first)?1:2)"))
          (inc! l))))))

(deftest test-eval-str

         :def-emits-var true}
        (fn [{:keys [error value]}]
          (is (nil? error))
          (is (== 3 value))
          (inc! l)))
      #_(cljs/eval-str st "(ns foo.bar)" nil
          {:eval node-eval
