7 lines
232 B
Elixir
7 lines
232 B
Elixir
defmodule ExUnit::Assertions do
|
|
def assert_included(base, container) do
|
|
if Erlang.string.str(container, base) == 0 do
|
|
error { :bad_assertion, "Expected #{inspect container} to include #{inspect base}" }
|
|
end
|
|
end
|
|
end |