@@ -59,7 +59,7 @@ def test_parse_arguments
59
59
@RM ::Paragraph . new ( 'Create new Arg object.' ) ,
60
60
@RM ::BlankLine . new ,
61
61
@RM ::List . new (
62
- :LABEL ,
62
+ :NOTE ,
63
63
@RM ::ListItem . new (
64
64
'name' ,
65
65
@RM ::Paragraph . new ( 'name of argument' ) ) ,
@@ -83,7 +83,7 @@ def test_parse_arguments_multiline
83
83
@RM ::Paragraph . new ( 'Do some stuff' ) ,
84
84
@RM ::BlankLine . new ,
85
85
@RM ::List . new (
86
- :LABEL ,
86
+ :NOTE ,
87
87
@RM ::ListItem . new (
88
88
'foo' ,
89
89
@RM ::Paragraph . new (
@@ -105,12 +105,12 @@ def test_parse_arguments_nested
105
105
@RM ::Paragraph . new ( 'Do some stuff' ) ,
106
106
@RM ::BlankLine . new ,
107
107
@RM ::List . new (
108
- :LABEL ,
108
+ :NOTE ,
109
109
@RM ::ListItem . new (
110
110
'foo' ,
111
111
@RM ::Paragraph . new ( 'A comment goes here' ) ,
112
112
@RM ::List . new (
113
- :LABEL ,
113
+ :NOTE ,
114
114
@RM ::ListItem . new (
115
115
':bar' ,
116
116
@RM ::Paragraph . new ( 'bar documentation' ) ) ) ) ) )
@@ -194,10 +194,10 @@ def test_tokenize_arguments
194
194
[ :TEXT , "Create new Arg object." , 0 , 0 ] ,
195
195
[ :NEWLINE , "\n " , 22 , 0 ] ,
196
196
[ :NEWLINE , "\n " , 0 , 1 ] ,
197
- [ :LABEL , "name" , 0 , 2 ] ,
197
+ [ :NOTE , "name" , 0 , 2 ] ,
198
198
[ :TEXT , "name of argument" , 14 , 2 ] ,
199
199
[ :NEWLINE , "\n " , 30 , 2 ] ,
200
- [ :LABEL , "description" , 0 , 3 ] ,
200
+ [ :NOTE , "description" , 0 , 3 ] ,
201
201
[ :TEXT , "arguments description" , 14 , 3 ] ,
202
202
[ :NEWLINE , "\n " , 35 , 3 ] ,
203
203
]
@@ -217,7 +217,7 @@ def test_tokenize_arguments_multiline
217
217
[ :TEXT , "Do some stuff" , 0 , 0 ] ,
218
218
[ :NEWLINE , "\n " , 13 , 0 ] ,
219
219
[ :NEWLINE , "\n " , 0 , 1 ] ,
220
- [ :LABEL , "foo" , 0 , 2 ] ,
220
+ [ :NOTE , "foo" , 0 , 2 ] ,
221
221
[ :TEXT , "A comment goes here" , 6 , 2 ] ,
222
222
[ :NEWLINE , "\n " , 25 , 2 ] ,
223
223
[ :TEXT , "and is more than one line" , 2 , 3 ] ,
@@ -239,10 +239,10 @@ def test_tokenize_arguments_nested
239
239
[ :TEXT , "Do some stuff" , 0 , 0 ] ,
240
240
[ :NEWLINE , "\n " , 13 , 0 ] ,
241
241
[ :NEWLINE , "\n " , 0 , 1 ] ,
242
- [ :LABEL , "foo" , 0 , 2 ] ,
242
+ [ :NOTE , "foo" , 0 , 2 ] ,
243
243
[ :TEXT , "A comment goes here" , 6 , 2 ] ,
244
244
[ :NEWLINE , "\n " , 25 , 2 ] ,
245
- [ :LABEL , ":bar" , 6 , 3 ] ,
245
+ [ :NOTE , ":bar" , 6 , 3 ] ,
246
246
[ :TEXT , "bar documentation" , 13 , 3 ] ,
247
247
[ :NEWLINE , "\n " , 30 , 3 ] ,
248
248
]
0 commit comments