From 46a4f33643a1b77e115b59bb8071a2a839515f7a Mon Sep 17 00:00:00 2001 From: Risson Date: Wed, 9 Aug 2023 16:08:09 +0200 Subject: [PATCH] fix tag test --- test/tag_test.exs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/tag_test.exs b/test/tag_test.exs index e822bb8f45..d83af65495 100644 --- a/test/tag_test.exs +++ b/test/tag_test.exs @@ -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