Skip to content

Commit

Permalink
fix tag test
Browse files Browse the repository at this point in the history
  • Loading branch information
herissondev committed Aug 9, 2023
1 parent b2e8592 commit 46a4f33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tag_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ defmodule TagTest do
end

test "should return false if existing function is not tagged with corresponding tag" do
assert !ModuleExample.tagged_with?(:print, :not_there)
assert !ModuleExample.tagged_with?(:im_io, :me_neither)
refute ModuleExample.tagged_with?(:print, :not_there)
refute ModuleExample.tagged_with?(:im_io, :me_neither)
end

test "should return false if unexisting function " do
assert !ModuleExample.tagged_with?(:do_not_exist, :log)
assert !ModuleExample.tagged_with?(:not_a_function, :io)
refute ModuleExample.tagged_with?(:do_not_exist, :log)
refute ModuleExample.tagged_with?(:not_a_function, :io)
end
end
end

0 comments on commit 46a4f33

Please sign in to comment.