core.match

Make check-pattern message contents independent of Clojure hash function

Details

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

Description

The recent changes to Clojure's hash function have caused several test failures in libraries where the test results depended upon the seq order of a hash set or hash map. core.match is one of these, but fortunately it is only one test and easy to make the results independent of Clojure's hash function.

Activity

Hide
Andy Fingerhut added a comment -

Patch match-94-v1.diff simply calls sort on a list of symbols printed by check-pattern, so their order is independent of Clojure's hash fn.

With this change, core.match's tests all pass with the latest Clojure 1.6.0-master-SNAPSHOT

Show
Andy Fingerhut added a comment - Patch match-94-v1.diff simply calls sort on a list of symbols printed by check-pattern, so their order is independent of Clojure's hash fn. With this change, core.match's tests all pass with the latest Clojure 1.6.0-master-SNAPSHOT

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: