1 # frozen_string_literal: true
5 require_relative "helper"
8 class EchoingTest < IntegrationTestCase
9 def test_irb_echos_by_default
14 output = run_ruby_file do
19 assert_include(output, "=> 123123")
22 def test_irb_doesnt_echo_line_with_semicolon
27 output = run_ruby_file do
36 type "'evaluation ends'"
40 assert_include(output, "=> \"evaluation ends\"")
41 assert_not_include(output, "=> 123123")