ma2gedev / power_assert_ex

Power Assert in Elixir. Shows evaluation results each expression.
https://github.com/ma2gedev/power_assert_ex
Other
214 stars 6 forks source link

Anonymous function has been enclosed in parentheses after Elixir 1.4 #8

Closed ma2gedev closed 7 years ago

ma2gedev commented 7 years ago
  1) test fn expr not supported (PowerAssertAssertionTest)
     test/power_assert_test.exs:859
     Assertion with == failed
     code:  expect == error.message()
     left:  "fn x -> x == 1 end.(y)\n                   ||\n                   |2\n                   false"
     right: "(fn x -> x == 1 end).(y)\n                      |\n                      2"
     stacktrace:
       test/power_assert_test.exs:873: (test)