(self)
| 332 | self.assertMatchSingle("bar -ax", s.find_man_page("bar")[0], matchedresult) |
| 333 | |
| 334 | def test_long(self): |
| 335 | cmd = "bar --b=b foo" |
| 336 | matchedresult = [ |
| 337 | MR(0, 3, "bar synopsis", "bar"), |
| 338 | MR(4, 9, "-b <arg> desc", "--b=b"), |
| 339 | MR(10, 13, None, "foo"), |
| 340 | ] |
| 341 | |
| 342 | self.assertMatchSingle(cmd, s.find_man_page("bar")[0], matchedresult) |
| 343 | |
| 344 | def test_arg_no_dash(self): |
| 345 | cmd = "baz ab -x" |
nothing calls this directly
no test coverage detected