mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Fix NSEdoc formatting in unittest.lua
This commit is contained in:
parent
3187efdf81
commit
f8242124b8
1 changed files with 2 additions and 0 deletions
|
|
@ -7,9 +7,11 @@
|
|||
-- <code>unittest.TestSuite</code> class has this property, and tests can be
|
||||
-- added with <code>add_test</code>. Example:
|
||||
--
|
||||
-- <code>
|
||||
-- local data = {"foo", "bar", "baz"}
|
||||
-- test_suite = unittest.TestSuite:new()
|
||||
-- test_suite:add_test(equal(data[2], "bar"), "data[2] should equal 'bar'")
|
||||
-- </code>
|
||||
--
|
||||
-- The library is driven by the unittest NSE script.
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue