Uploaded image for project: 'ClojureScript'
  1. CLJS-1674

cljs.test/run-all-tests fails when passed a regexp variable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Declined
    • Affects versions: 1.9.36
    • Fix versions: 1.9.76
    • Labels:
      None

      Description

      (let [re #".*re.*"] 
        (cljs.test/run-all-tests re))
      

      clojure.lang.ExceptionInfo: clojure.lang.Symbol cannot be cast to java.util.regex.Pattern at line 1 <cljs repl> {:file "<cljs repl>", :line 1, :column 21, :tag :cljs/analysis-error}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ejlo Erik Ouchterlony
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: