File: wip_helpers.ex

package info (click to toggle)
elixir-earmark-parser 1.4.44-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,148 kB
  • sloc: makefile: 9
file content (7 lines) | stat: -rw-r--r-- 157 bytes parent folder | download
1
2
3
4
5
6
7
defmodule Support.WipHelpers do
  defmacro assert_size(list, size) do
    quote do
      assert Enum.count(unquote(list)) == unquote(size)
    end
  end
end