diff options
Diffstat (limited to 'spec/04-term_spec.lua')
| -rw-r--r-- | spec/04-term_spec.lua | 9 |
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() | |||
| 176 | 176 | ||
| 177 | describe("tcgetattr()", function() | 177 | describe("tcgetattr()", function() |
| 178 | 178 | ||
| 179 | pending("gets the terminal flags", function() | 179 | nix_it("gets the terminal flags #manual", function() |
| 180 | assert.equal(true, false) -- implement this test still | ||
| 180 | end) | 181 | end) |
| 181 | 182 | ||
| 182 | 183 | ||
| @@ -208,8 +209,8 @@ describe("Terminal:", function() | |||
| 208 | 209 | ||
| 209 | describe("tcsetattr()", function() | 210 | describe("tcsetattr()", function() |
| 210 | 211 | ||
| 211 | pending("sets the terminal flags, if called with flags", function() | 212 | nix_it("sets the terminal flags, if called with flags #manual", function() |
| 212 | assert.equal(true, false) | 213 | assert.equal(true, false) -- implement this test still |
| 213 | end) | 214 | end) |
| 214 | 215 | ||
| 215 | 216 | ||
| @@ -234,7 +235,7 @@ describe("Terminal:", function() | |||
| 234 | end) | 235 | end) |
| 235 | 236 | ||
| 236 | 237 | ||
| 237 | it("returns an error if called with an invalid third argument", function() | 238 | it("returns an error if called with an invalid third argument #manual", function() |
| 238 | assert.has.error(function() | 239 | assert.has.error(function() |
| 239 | system.tcsetattr(io.stdin, system.TCSANOW, "invalid") | 240 | system.tcsetattr(io.stdin, system.TCSANOW, "invalid") |
| 240 | end, "bad argument #3 to 'tcsetattr' (table expected, got string)") | 241 | end, "bad argument #3 to 'tcsetattr' (table expected, got string)") |
