@@ -81,6 +81,7 @@ def test_irb_info_multiline
81
81
InputMethod:\s Abstract\s InputMethod\n
82
82
\. irbrc\s path:\s .+\n
83
83
RUBY_PLATFORM:\s .+\n
84
+ East\s Asian\s Ambiguous\s Width:\s \d \n
84
85
#{ @is_win ? 'Code\spage:\s\d+\n' : '' }
85
86
}x
86
87
assert_match expected , irb . context . main . irb_info . to_s
@@ -107,6 +108,7 @@ def test_irb_info_singleline
107
108
InputMethod:\s Abstract\s InputMethod\n
108
109
\. irbrc\s path:\s .+\n
109
110
RUBY_PLATFORM:\s .+\n
111
+ East\s Asian\s Ambiguous\s Width:\s \d \n
110
112
#{ @is_win ? 'Code\spage:\s\d+\n' : '' }
111
113
}x
112
114
assert_match expected , irb . context . main . irb_info . to_s
@@ -135,6 +137,7 @@ def test_irb_info_multiline_without_rc_files
135
137
IRB\s version:\s irb\s .+\n
136
138
InputMethod:\s Abstract\s InputMethod\n
137
139
RUBY_PLATFORM:\s .+\n
140
+ East\s Asian\s Ambiguous\s Width:\s \d \n
138
141
#{ @is_win ? 'Code\spage:\s\d+\n' : '' }
139
142
\z
140
143
}x
@@ -167,6 +170,7 @@ def test_irb_info_singleline_without_rc_files
167
170
IRB\s version:\s irb\s .+\n
168
171
InputMethod:\s Abstract\s InputMethod\n
169
172
RUBY_PLATFORM:\s .+\n
173
+ East\s Asian\s Ambiguous\s Width:\s \d \n
170
174
#{ @is_win ? 'Code\spage:\s\d+\n' : '' }
171
175
\z
172
176
}x
@@ -201,6 +205,7 @@ def test_irb_info_lang
201
205
RUBY_PLATFORM: .+\n
202
206
LANG\s env:\s ja_JP\. UTF-8\n
203
207
LC_ALL\s env:\s en_US\. UTF-8\n
208
+ East\s Asian\s Ambiguous\s Width:\s \d \n
204
209
}x
205
210
assert_match expected , irb . context . main . irb_info . to_s
206
211
ensure
0 commit comments