mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
264 B
Ruby
13 lines
264 B
Ruby
![]() |
require_relative 'helper'
|
||
|
require "reline/unicode"
|
||
|
|
||
|
class Reline::Unicode::Test < Reline::TestCase
|
||
|
def setup
|
||
|
Reline.send(:test_mode)
|
||
|
end
|
||
|
|
||
|
def test_get_mbchar_width
|
||
|
assert_equal Reline.ambiguous_width, Reline::Unicode.get_mbchar_width('é')
|
||
|
end
|
||
|
end
|