       end
     end) =~ "warning: unused import String"
   after
-    purge [Sample]
+    purge Sample
   end
 
   test :unused_guard do

      """
    end) =~ "sample:3: warning: variable x is unused"
  after
    purge [Sample]
  end

  test :warning_on_codepoint_escape do
    assert capture_err(fn ->
      Code.eval_string "? "
    end) =~ "nofile:1: warning: found ? followed by codepoint 0x20 (space), please use \\s instead"
  after
    purge [Sample]
  end

  test :typedoc_on_typep do

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

  test :unused_alias do
