You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: undisplay_test.rb
    path of file: ./repos/byebug/test/commands
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require "test_helper"

module Byebug
  #
  # Tests undisplay command used to stop periodically di
    
    def test_removes_all_expressions_from_list_if_confirmed
      enter "display d", "display d + 1", "undisplay", "y", "next"

      debug_code(program) do
        assert_equal [[false, "d"], [false, "d + 1"]], Byebug.displays
        clear_displays
      end

      check_output_doesnt_include "1: d = 3", "2: d + 1 = 4"
    end