@@ -213,18 +213,18 @@ def test_osc_codes(self):
213213 c = s .callbacks
214214 pb ('a\033 ]2;x\\ ryz\x9c bcde' , 'a' , ('set_title' , 'x\\ ryz' ), 'bcde' )
215215 self .ae (str (s .line (0 )), 'abcde' )
216- self .ae (c .titlebuf , 'x\\ ryz' )
216+ self .ae (c .titlebuf , [ 'x\\ ryz' ] )
217217 c .clear ()
218218 pb ('\033 ]\x07 ' , ('set_title' , '' ), ('set_icon' , '' ))
219- self .ae (c .titlebuf , '' ), self .ae (c .iconbuf , '' )
219+ self .ae (c .titlebuf , [ '' ] ), self .ae (c .iconbuf , '' )
220220 pb ('\033 ]ab\x07 ' , ('set_title' , 'ab' ), ('set_icon' , 'ab' ))
221- self .ae (c .titlebuf , ' ab' ), self .ae (c .iconbuf , 'ab' )
221+ self .ae (c .titlebuf , [ '' , ' ab'] ), self .ae (c .iconbuf , 'ab' )
222222 c .clear ()
223223 pb ('\033 ]2;;;;\x07 ' , ('set_title' , ';;;' ))
224- self .ae (c .titlebuf , ';;;' )
224+ self .ae (c .titlebuf , [ ';;;' ] )
225225 c .clear ()
226226 pb ('\033 ]2;\x07 ' , ('set_title' , '' ))
227- self .ae (c .titlebuf , '' )
227+ self .ae (c .titlebuf , [ '' ] )
228228 pb ('\033 ]110\x07 ' , ('set_dynamic_color' , 110 , '' ))
229229 self .ae (c .colorbuf , '' )
230230 c .clear ()
0 commit comments