Skip to content

Commit

Permalink
Merge pull request ruby#797 from sorah/test_tty_ambiguous_width-rubybin
Browse files Browse the repository at this point in the history
test_tty_ambiguous_width: Use Reline.test_rubybin
  • Loading branch information
sorah authored Dec 25, 2024
2 parents db86bcd + f60199f commit d643499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/reline/test_reline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def test_tty_amibuous_width
RUBY
ruby_file.close
lib = File.expand_path('../../lib', __dir__)
cmd = [{ 'TERM' => 'xterm' }, 'ruby', '-I', lib, ruby_file.to_path]
cmd = [{ 'TERM' => 'xterm' }, Reline.test_rubybin, '-I', lib, ruby_file.to_path]

# Calculate ambiguous width from cursor position
[1, 2].each do |ambiguous_width|
Expand Down

0 comments on commit d643499

Please sign in to comment.