{"comment":{"created_at":"2011-10-23T23:37:59Z","body":"I've got good news.  The code I've got locally works for this in the REPL:\r\n\r\n```clojure\r\n(use 'midje.sweet)\r\n(defn a [b])\r\n(defn b [c] (a c))\r\n\r\n(fact (b .d..) => 3 (provided (a ...d...) => 3)) ;; => true\r\n\r\n```\r\n\r\nThe bad news is the that tests in t_line_number_reporting.clj are crashing and I've got know clue why such a seemingly unrelated piece of code would be getting effected by changes to the equals method of Metaconstant ...............","updated_at":"2011-10-23T23:37:59Z","url":"https://api.github.com/repos/marick/Midje/issues/comments/2498560","id":2498560,"user":{"avatar_url":"https://secure.gravatar.com/avatar/7d2cc799db6f5916a1ca4df1259d7d32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7d2cc799db6f5916a1ca4df1259d7d32","url":"https://api.github.com/users/AlexBaranosky","id":45647,"login":"AlexBaranosky"}},"action":"created","issue":{"number":46,"created_at":"2011-08-05T16:16:23Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"This is up to debate, but I think the number of periods surrounding a metaconstant should not effect it's equality.  Here is the motivation:\r\n\r\n```clojure\r\n;.;. FAIL at (NO_SOURCE_FILE:1)\r\n;.;.     Expected: ...foo..\r\n;.;.       Actual: ...foo...\r\n(fact\r\n  (identity ...foo...) => ...foo..)\r\n```\r\n\r\nIt is easy to see in this failure that a dot was left off on the expected metaconstant.  However, when many metaconstants are being used in maps this typo can cause a lot of confusion.  I don't see any reason why  `...foo...` should not equal `..foo..` or `.foo.` since midje treats them the same.  \r\n\r\nAlternatively, a helpful warning would be nice when a potential typo is detected.  WDYT?\r\n\r\nI've been meaning to dig deeper into midje so if you think this is a good change I am willing to do the patch.  (or at least try)","comments":3,"title":"metaconstants overly sensitive to periods","updated_at":"2011-10-23T23:37:59Z","url":"https://api.github.com/repos/marick/Midje/issues/46","id":1352137,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/c694a032be7518a0d704318895f8fe1d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c694a032be7518a0d704318895f8fe1d","url":"https://api.github.com/users/bmabey","id":1837,"login":"bmabey"},"html_url":"https://github.com/marick/Midje/issues/46","labels":[{"name":"wishlist","url":"https://api.github.com/repos/marick/Midje/labels/wishlist","color":"DDDDDD"}],"state":"open"},"legacy":{"issue_id":1352137,"comment_id":2498560}}