File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -226,4 +226,48 @@ describe('code', function()
226226 ' ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀' ,
227227 })
228228 end )
229+
230+ it (' block right thin' , function ()
231+ util .setup .text (lines , {
232+ code = {
233+ width = ' block' ,
234+ position = ' right' ,
235+ border = ' thin' ,
236+ language_border = ' ▁' ,
237+ language_left = ' █' ,
238+ language_right = ' █' ,
239+ above = ' ▁' ,
240+ below = ' ▔' ,
241+ },
242+ })
243+ util .assert_screen ({
244+ ' ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█ rust█' ,
245+ ' fn main() {' ,
246+ ' println!("Hello, World!");' ,
247+ ' }' ,
248+ ' ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔' ,
249+ ' ' ,
250+ ' ● List Divider' ,
251+ ' ' ,
252+ ' ▁▁▁▁▁▁▁▁█ py█' ,
253+ ' print("hello")' ,
254+ ' ' ,
255+ ' print("world")' ,
256+ ' ▔▔▔▔▔▔▔▔▔▔▔▔▔▔' ,
257+ ' ' ,
258+ ' Paragraph Divider' ,
259+ ' ' ,
260+ ' ▁▁▁▁▁▁▁▁▁█ lua█' ,
261+ " print('hello')" ,
262+ ' ' ,
263+ " print('world')" ,
264+ ' ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔' ,
265+ ' ' ,
266+ ' ● List Divider' ,
267+ ' ' ,
268+ ' ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁' ,
269+ " print('Hello, World!')" ,
270+ ' ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔' ,
271+ })
272+ end )
229273end )
You can’t perform that action at this time.
0 commit comments