Skip to content

Commit

Permalink
fixed coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
amatalai committed Sep 5, 2017
1 parent 79d5269 commit 18a21ec
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/mockery/utils_test.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
defmodule Mockery.UtilsTest do
use ExUnit.Case, async: true
alias Mockery.Utils

test "print_mod/1 for elixir module" do
assert Utils.print_mod(Elixir.Test) == "Test"
end

test "print_mod/2 for erlang module" do
assert Utils.print_mod(:crypto) == ":crypto"
end
end

0 comments on commit 18a21ec

Please sign in to comment.