Skip to content

Commit f0938e5

Browse files
olleolleolleko1
authored andcommitted
test: Fix a typo in method name
1 parent 80a63c8 commit f0938e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/support/dap_utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def run_dap_scenario program, &msgs
174174
write_temp_file(strip_line_num(program))
175175

176176
test_info = DAP_TestInfo.new([], [])
177-
remote_info = test_info.remote_info = setup_unix_doman_socket_remote_debuggee
177+
remote_info = test_info.remote_info = setup_unix_domain_socket_remote_debuggee
178178
res_log = test_info.res_backlog
179179
sock = nil
180180
target_msg = nil

test/support/utils.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def debug_code(program, remote: true, &test_steps)
9595

9696
private def debug_code_on_unix_domain_socket
9797
test_info = TestInfo.new(dup_scenario, 'UNIX Domain Socket', /\(rdbg:remote\)/)
98-
test_info.remote_info = setup_unix_doman_socket_remote_debuggee
98+
test_info.remote_info = setup_unix_domain_socket_remote_debuggee
9999
cmd = "#{RDBG_EXECUTABLE} -A #{test_info.remote_info.sock_path}"
100100
run_test_scenario cmd, test_info
101101
end
@@ -314,7 +314,7 @@ def kill_remote_debuggee test_info
314314
def manual_debug_code(program)
315315
print("[Starting a Debug Session with @#{caller.first}]\n")
316316
write_temp_file(strip_line_num(program))
317-
remote_info = setup_unix_doman_socket_remote_debuggee
317+
remote_info = setup_unix_domain_socket_remote_debuggee
318318

319319
while !File.exist?(remote_info.sock_path)
320320
sleep 0.1
@@ -341,7 +341,7 @@ def setup_remote_debuggee(cmd)
341341

342342
$ruby_debug_test_num = 0
343343

344-
def setup_unix_doman_socket_remote_debuggee
344+
def setup_unix_domain_socket_remote_debuggee
345345
sock_path = DEBUGGER__.create_unix_domain_socket_name + "-#{$ruby_debug_test_num += 1}"
346346
remote_info = setup_remote_debuggee("#{RDBG_EXECUTABLE} -O --sock-path=#{sock_path} #{temp_file_path}")
347347
remote_info.sock_path = sock_path

0 commit comments

Comments
 (0)