summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2024-06-08 09:28:20 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2024-06-08 09:28:20 +0200
commit8996a5022fa82e5d5335f71580d0cd6b6d323c9b (patch)
treeaac6b6a015cf06aad845627f51b739fe58f85166 /spec
parent52562e9986f8f5a4d2dda4333acba110734def0f (diff)
downloadluasystem-8996a5022fa82e5d5335f71580d0cd6b6d323c9b.zip
switch termsize results to standard; rows, cols
Diffstat (limited to 'spec')
-rw-r--r--spec/04-term_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua
index 84b4731..d5b4eee 100644
--- a/spec/04-term_spec.lua
+++ b/spec/04-term_spec.lua
@@ -500,9 +500,9 @@ describe("Terminal:", function()
describe("termsize() #manual", function()
it("gets the terminal size", function()
- local w, h = system.termsize()
- assert.is_number(w)
- assert.is_number(h)
+ local rows, columns = system.termsize()
+ assert.is_number(rows)
+ assert.is_number(columns)
end)
end)