diff --git a/test/tool/test_builder.rb b/test/tool/test_builder.rb index 03f1fcba1..1c6dfbec7 100644 --- a/test/tool/test_builder.rb +++ b/test/tool/test_builder.rb @@ -195,7 +195,7 @@ def create_initialized_content <<~TEST # frozen_string_literal: true - require_relative '../support/test_case' + require_relative '../support/console_test_case' module DEBUGGER__ #{create_scenario_and_program} @@ -213,7 +213,7 @@ def make_content end def create_file - path = "#{__dir__}/../debug/#{@file_name}_test.rb" + path = "#{__dir__}/../console/#{@file_name}_test.rb" if File.exist?(path) @inserted_src = File.read(path) content = @inserted_src.split("\n")[0..-3].join("\n") + "\n#{make_content}\nend\n" if @inserted_src.include? @class @@ -399,7 +399,7 @@ def create_initialized_content <<~TEST # frozen_string_literal: true - require_relative '../support/test_case' + require_relative '../support/protocol_test_case' module DEBUGGER__ #{create_scenario_and_program} @@ -640,7 +640,7 @@ def create_initialized_content <<~TEST # frozen_string_literal: true - require_relative '../support/test_case' + require_relative '../support/protocol_test_case' module DEBUGGER__ #{create_scenario_and_program}