@@ -159,6 +159,8 @@ describe('core', function() {
159
159
' *' ,
160
160
' * [2] Add Two Numbers' ,
161
161
' */' ,
162
+ '' ,
163
+ '// @lc code=start' ,
162
164
'/**' ,
163
165
' * Definition for singly-linked list.' ,
164
166
' * struct ListNode {' ,
@@ -173,6 +175,7 @@ describe('core', function() {
173
175
' ' ,
174
176
' }' ,
175
177
'};' ,
178
+ '// @lc code=end' ,
176
179
''
177
180
] . join ( '\n' ) ;
178
181
@@ -194,6 +197,8 @@ describe('core', function() {
194
197
' *' ,
195
198
' * [2] Add Two Numbers' ,
196
199
' */' ,
200
+ '' ,
201
+ '// @lc code=start' ,
197
202
'/**' ,
198
203
' * Definition for singly-linked list.' ,
199
204
' * struct ListNode {' ,
@@ -208,6 +213,7 @@ describe('core', function() {
208
213
' ' ,
209
214
' }' ,
210
215
'};' ,
216
+ '// @lc code=end' ,
211
217
''
212
218
] . join ( '\r\n' ) ;
213
219
@@ -246,6 +252,8 @@ describe('core', function() {
246
252
' * Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)' ,
247
253
' * Output: 7 -> 0 -> 8' ,
248
254
' */' ,
255
+ '' ,
256
+ '// @lc code=start' ,
249
257
'/**' ,
250
258
' * Definition for singly-linked list.' ,
251
259
' * struct ListNode {' ,
@@ -260,6 +268,7 @@ describe('core', function() {
260
268
' ' ,
261
269
' }' ,
262
270
'};' ,
271
+ '// @lc code=end' ,
263
272
''
264
273
] . join ( '\n' ) ;
265
274
@@ -298,6 +307,8 @@ describe('core', function() {
298
307
'# Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)' ,
299
308
'# Output: 7 -> 0 -> 8' ,
300
309
'#' ,
310
+ '' ,
311
+ '# @lc code=start' ,
301
312
'# Definition for singly-linked list.' ,
302
313
'# class ListNode' ,
303
314
'# attr_accessor :val, :next' ,
@@ -313,6 +324,7 @@ describe('core', function() {
313
324
'def add_two_numbers(l1, l2)' ,
314
325
' ' ,
315
326
'end' ,
327
+ '# @lc code=end' ,
316
328
''
317
329
] . join ( '\n' ) ;
318
330
0 commit comments