testit icon indicating copy to clipboard operation
testit copied to clipboard

Using symbols in an =in=> value causes test to incorrectly succeed

Open jkrasnay opened this issue 4 years ago • 0 comments

(deftest reproducer
    (facts "This correctly fails"
           {:foo [1 2]} =in=> {:foo [1 3]})
    (let [sym :foo]
      (facts "This should fail, but succeeds"
             {sym [1 2]} =in=> {sym [1 3]})))

jkrasnay avatar Feb 07 '21 20:02 jkrasnay