       """
     end) =~ "nofile:3: warning: type priv/0 is private, @typedoc's are always discarded for private types"
   after
-    purge [Sample]
+    purge Sample
   end
 
   test :typedoc_with_no_type do

      """
    end) =~ "warning: unused import :lists"
  after
    purge [Sample]
  end

  test :unused_alias do

      """
    end) =~ "warning: @behavior attribute is not supported, please use @behaviour instead"
  after
    purge Sample
  end

  test :undefined_macro_for_protocol do
