summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Schreijer <thijs@thijsschreijer.nl>2024-05-23 09:14:09 +0200
committerThijs Schreijer <thijs@thijsschreijer.nl>2024-05-23 09:14:09 +0200
commit399837108104b453b76603b9649d02987beb9090 (patch)
tree7c489e0f2eaa052fc869cc5dd6cf61f5245684c2
parent9f6958c429627190917f742f46a3ae60ed6e7ca0 (diff)
downloadluasystem-399837108104b453b76603b9649d02987beb9090.zip
all done, but tcgetattr/tcsetattr tests, manual
-rw-r--r--spec/04-term_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua
index 3711900..e72a5ad 100644
--- a/spec/04-term_spec.lua
+++ b/spec/04-term_spec.lua
@@ -176,7 +176,8 @@ describe("Terminal:", function()
describe("tcgetattr()", function()
- pending("gets the terminal flags", function()
+ nix_it("gets the terminal flags #manual", function()
+ assert.equal(true, false) -- implement this test still
end)
@@ -208,8 +209,8 @@ describe("Terminal:", function()
describe("tcsetattr()", function()
- pending("sets the terminal flags, if called with flags", function()
- assert.equal(true, false)
+ nix_it("sets the terminal flags, if called with flags #manual", function()
+ assert.equal(true, false) -- implement this test still
end)
@@ -234,7 +235,7 @@ describe("Terminal:", function()
end)
- it("returns an error if called with an invalid third argument", function()
+ it("returns an error if called with an invalid third argument #manual", function()
assert.has.error(function()
system.tcsetattr(io.stdin, system.TCSANOW, "invalid")
end, "bad argument #3 to 'tcsetattr' (table expected, got string)")