Test for single arity failures

This commit is contained in:
Felipe Sere
2016-12-23 23:53:41 +01:00
parent cf244e673f
commit f797ca8e80
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
defmodule SingleArity do
use Koans
@intro """
A koan with single arity testing
"""
koan "Only one" do
assert match?(:foo, ___)
end
end