diff --git a/test/reagenttest/testreagent.cljs b/test/reagenttest/testreagent.cljs index afd9b655..57b7cc07 100644 --- a/test/reagenttest/testreagent.cljs +++ b/test/reagenttest/testreagent.cljs @@ -522,19 +522,19 @@ (u/deftest ^:dom test-keys (u/async - (p/let [a nil ;; (r/atom "a") - c (fn key-tester [] - [:div - (for [i (range 3)] - ^{:key i} [:p i (some-> a deref)]) - (for [i (range 3)] - [:p {:key i} i (some-> a deref)])])] + (let [a nil ;; (r/atom "a") + c (fn key-tester [] + [:div + (for [i (range 3)] + ^{:key i} [:p i (some-> a deref)]) + (for [i (range 3)] + [:p {:key i} i (some-> a deref)])])] (u/with-render [_div [c]] {:capture-errors true} (is (empty? (:warn @reagent.debug/warnings))))) (testing "Check warning text can be produced even if hiccup contains function literals" - (p/let [c (fn key-tester [] + (let [c (fn key-tester [] [:div (for [i (range 3)] ^{:key nil}