forked from phoedos/pmd
Add missing test files
This commit is contained in:
parent
746fcbf086
commit
4d630031c4
13
pmd-lua/src/test/resources/net/sourceforge/pmd/lang/lua/cpd/testdata/comment.lua
vendored
Normal file
13
pmd-lua/src/test/resources/net/sourceforge/pmd/lang/lua/cpd/testdata/comment.lua
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
-- inline comment ("long comment")
|
||||
print(1 --[[, 2]])
|
||||
|
||||
-- line comment ("short comment")
|
||||
print(1) -- comment
|
||||
|
||||
-- inline comment with multiple lines ("long comment")
|
||||
print(1 --[[comment line 1
|
||||
comment line 2]])
|
||||
|
||||
-- line comment without any content
|
||||
print(1) --
|
23
pmd-lua/src/test/resources/net/sourceforge/pmd/lang/lua/cpd/testdata/comment.txt
vendored
Normal file
23
pmd-lua/src/test/resources/net/sourceforge/pmd/lang/lua/cpd/testdata/comment.txt
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
[Image] or [Truncated image[ Bcol Ecol
|
||||
L3
|
||||
[print] 1 5
|
||||
[(] 6 6
|
||||
[1] 7 7
|
||||
[)] 18 18
|
||||
L6
|
||||
[print] 1 5
|
||||
[(] 6 6
|
||||
[1] 7 7
|
||||
[)] 8 8
|
||||
L9
|
||||
[print] 1 5
|
||||
[(] 6 6
|
||||
[1] 7 7
|
||||
L10
|
||||
[)] 17 17
|
||||
L13
|
||||
[print] 1 5
|
||||
[(] 6 6
|
||||
[1] 7 7
|
||||
[)] 8 8
|
||||
EOF
|
Loading…
x
Reference in New Issue
Block a user