Uploaded image for project: 'Clojure'
  1. CLJ-1976

using spec/fspec seems to require clojure.test.check

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects versions: Release 1.9
    • Fix versions: None
    • Labels:
    • Environment:

      clojure 1.9.0-alpha8

      Description

      (spec/def ::translate
        (spec/fspec
          :args (spec/cat :locale keyword?
                          :key keyword?
                          :args (spec/* ::spec/any))
          :ret  string?))
      
      (defn tr [l k & args] ...)
      
      (spec/conform ::translate tr)
      
      Uncaught exception, not in assertion.
      expected: nil
        actual: java.io.FileNotFoundException: Could not locate clojure/test/check/generators__init.class or clojure/test/check/generators.clj on classpath.
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tonsky Nikita Prokopov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: