File tree 2 files changed +10
-12
lines changed
2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 23
23
24
24
# the atoms dict has the keys:
25
25
# * tags: tags dict
26
- # tags with no equals sign have a value of null in this file
27
- # tags with no value after = sign have a value of empty string
26
+ # tags with no value are an empty string
28
27
# * source: source string, without single leading colon
29
28
# * verb: verb string
30
29
# * params: params split up as a list
@@ -178,7 +177,7 @@ tests:
178
177
- desc : Tag with no value and space-filled trailing.
179
178
atoms :
180
179
tags :
181
- " asd " : null
180
+ " asd " : " "
182
181
source : " coolguy"
183
182
verb : " foo"
184
183
params :
Original file line number Diff line number Diff line change 28
28
29
29
# the atoms dict has the keys:
30
30
# * tags: tags dict
31
- # tags with no equals sign have a value of null in this file
32
- # tags with no value after = sign have a value of empty string
31
+ # tags with no value are an empty string
33
32
# * source: source string, without single leading colon
34
33
# * verb: verb string
35
34
# * params: params split up as a list
@@ -134,7 +133,7 @@ tests:
134
133
tags :
135
134
" a " : " b"
136
135
" c " : " 32"
137
- " k " : null
136
+ " k " : " "
138
137
" rt " : " ql7"
139
138
140
139
# with escaped tags
@@ -150,7 +149,7 @@ tests:
150
149
- input : " @c;h=;a=b :quux ab cd"
151
150
atoms :
152
151
tags :
153
- " c " : null
152
+ " c " : " "
154
153
" h " : " "
155
154
" a " : " b"
156
155
source : " quux"
@@ -210,13 +209,13 @@ tests:
210
209
- " foo"
211
210
- " bar baz"
212
211
213
- - input : " @tag1=value1;tag2;vendor1/tag3=value2;vendor2/tag4 :irc.example.com COMMAND param1 param2 :param3 param3"
212
+ - input : " @tag1=value1;tag2;vendor1/tag3=value2;vendor2/tag4= :irc.example.com COMMAND param1 param2 :param3 param3"
214
213
atoms :
215
214
tags :
216
215
tag1 : " value1"
217
- tag2 : null
216
+ tag2 : " "
218
217
vendor1/tag3 : " value2"
219
- vendor2/tag4 : null
218
+ vendor2/tag4 : " "
220
219
source : " irc.example.com"
221
220
verb : " COMMAND"
222
221
params :
@@ -237,9 +236,9 @@ tests:
237
236
atoms :
238
237
tags :
239
238
tag1 : " value1"
240
- tag2 : null
239
+ tag2 : " "
241
240
vendor1/tag3 : " value2"
242
- vendor2/tag4 : null
241
+ vendor2/tag4 : " "
243
242
verb : " COMMAND"
244
243
params :
245
244
- " param1"
You can’t perform that action at this time.
0 commit comments