cabbage icon indicating copy to clipboard operation
cabbage copied to clipboard

Allow returning keyword list in result tuple

Open hauleth opened this issue 5 years ago • 1 comments

Currently result tuple requires second value to be map, it would be worth to follow ExUnit syntax and allow as well:

  • raw map
  • raw keyword list
  • tuple {:ok, keyword()}

hauleth avatar Feb 27 '19 15:02 hauleth

Yeas, i have an idea to make this library coppy and reuse as much ExUnit stuff as possible, so transition would be as easy as possible :)

revati avatar Feb 27 '19 17:02 revati