     quote do: var!(my_var_1, Elixir) = 1
   end
 
-  @tag previous_line: "require #{__MODULE__}; #{__MODULE__}.define_var(); my_var_2 = 2"
   test "ignores quoted variables when performing variable completion" do
+    eval("require #{__MODULE__}; #{__MODULE__}.define_var(); my_var_2 = 2")
     assert expand('my_var') == {:yes, '_2', []}
   end
 

defmodule IEx.AutocompleteTest do
  use ExUnit.Case, async: true

  setup context do
    ExUnit.CaptureIO.capture_io(fn ->
      evaluator = IEx.Server.start_evaluator([])
      Process.put(:evaluator, evaluator)

      previous_line = context[:previous_line]
      if previous_line do
        send evaluator, {:eval, self(), previous_line <> "\n", %IEx.State{}}
        assert_receive {:evaled, _, _}
      end
    end)

    :ok
  end


    def evaluator do
      Process.get(:evaluator)
    end
  end

  defp eval(line) do
    ExUnit.CaptureIO.capture_io(fn ->
      evaluator = MyServer.evaluator
      Process.group_leader(evaluator, Process.group_leader)
      send evaluator, {:eval, self(), line <> "\n", %IEx.State{}}
      assert_receive {:evaled, _, _}
    end)
  end

  defp expand(expr) do
