core.typed

Unit test that might be doing nothing

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

In namespace clojure.core.typed.test.parse-unparse-test the following test appears to be calling = with 1 argument, which always returns true:

(is-clj (= (clj (-> (unparse-type (parse-type `(t/TFn ~'[[a :variance :covariant]] ~'a)))
                      next)
             (quote ([[a :variance :covariant]] a)))))

Activity

Hide
Ambrose Bonnaire-Sergeant added a comment -

Thanks fixed.

Show
Ambrose Bonnaire-Sergeant added a comment - Thanks fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: