Skip to content

Commit 7478563

Browse files
committed
Write better testing code
1 parent e1b648d commit 7478563

File tree

4 files changed

+1031
-652
lines changed

4 files changed

+1031
-652
lines changed

test/corpus/comments.txt

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,34 @@
11
================================================================================
2-
Short comments
2+
short comments
33
================================================================================
44

55
--
66
-- a comment
77

8-
-- [[
9-
-- [=[
10-
--[
11-
--[==
12-
--[ [
13-
--[ ===[ ]==== ]
14-
15-
---
8+
--------------------------------------------------------------------------------
169

1710
(chunk
18-
(comment)
19-
(comment)
20-
(comment)
21-
(comment)
22-
(comment)
23-
(comment)
2411
(comment)
2512
(comment))
2613

2714
================================================================================
28-
Long comments
15+
long comments
2916
================================================================================
3017

18+
--[[]]
3119
--[[
3220
a comment
3321
]]
34-
35-
--[[
36-
a comment
37-
--]]
38-
3922
--[=[
40-
a comment
41-
] =]]=]
42-
43-
--[==[
44-
a comment
45-
]= ]]==]
23+
Copyright (c) 2022 Ademir José Ferreira Júnior
4624

47-
--[====[
48-
a comment
49-
] ====]]====]
25+
This source code is licensed under the MIT license found
26+
in the LICENSE file in the root directory of this project.
27+
]=]
5028

51-
---
29+
--------------------------------------------------------------------------------
5230

5331
(chunk
54-
(comment)
55-
(comment)
5632
(comment)
5733
(comment)
5834
(comment))

0 commit comments

Comments
 (0)