tests: Test `s:split()`.

This commit is contained in:
Emmanuel Lepage Vallee 2019-06-24 23:56:29 -04:00
parent 1e1cd549c6
commit 994034934e
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
--DOC_GEN_IMAGE --DOC_HIDE --DOC_NO_USAGE
require("awful.screen") --DOC_HIDE
screen[1]._resize {x = 95, width = 256, height = 108} --DOC_HIDE
screen[1]:split({1/5, 3/5, 1/5})
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

View File

@ -0,0 +1,9 @@
--DOC_GEN_IMAGE --DOC_HIDE --DOC_NO_USAGE
require("awful.screen") --DOC_HIDE
screen[1]._resize {x = 175, width = 108, height = 198} --DOC_HIDE
screen[1]:split()
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80