Skip to content

Commit

Permalink
Update directory names for latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Jul 11, 2022
1 parent c35bd4c commit 4e00f5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tool/test_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 4e00f5d

Please sign in to comment.