mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 00:19:01 +00:00
Fix NSEdoc formatting in unittest.lua
This commit is contained in:
@@ -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.
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user