File: trailing_hash_test.lua

package info (click to toggle)
lua-doc 3.0.1%2Bgitdb9e868-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 408 kB
  • ctags: 122
  • sloc: makefile: 51
file content (25 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- Run LuaDoc on this file to test the results of the tag-trailing '#'

--------------------------
-- Usage tag should be the original usage tag, concatenated and trimmed
    -- @usage for k,v in pairs(sometable) do
    --    print(k,v)
    -- end
function JustATest()
end

--------------------------
-- Usage tag includes trailing '#', should be the new format, not trimmed and linebreaks retained
    -- @usage# for k,v in pairs(sometable) do
    --    print(k,v)
    -- end
function JustAnotherTest()
end

--------------------------
-- Usage tags contains # in the middle, shouldn't be recognized as a tag
    -- @usage#forsome test1
    --    test2
    -- test3
function JustOneLastTest()
end