@@ -159,6 +159,8 @@ describe('core', function() {
159159 ' *' ,
160160 ' * [2] Add Two Numbers' ,
161161 ' */' ,
162+ '' ,
163+ '// @lc code=start' ,
162164 '/**' ,
163165 ' * Definition for singly-linked list.' ,
164166 ' * struct ListNode {' ,
@@ -173,6 +175,7 @@ describe('core', function() {
173175 ' ' ,
174176 ' }' ,
175177 '};' ,
178+ '// @lc code=end' ,
176179 ''
177180 ] . join ( '\n' ) ;
178181
@@ -194,6 +197,8 @@ describe('core', function() {
194197 ' *' ,
195198 ' * [2] Add Two Numbers' ,
196199 ' */' ,
200+ '' ,
201+ '// @lc code=start' ,
197202 '/**' ,
198203 ' * Definition for singly-linked list.' ,
199204 ' * struct ListNode {' ,
@@ -208,6 +213,7 @@ describe('core', function() {
208213 ' ' ,
209214 ' }' ,
210215 '};' ,
216+ '// @lc code=end' ,
211217 ''
212218 ] . join ( '\r\n' ) ;
213219
@@ -246,6 +252,8 @@ describe('core', function() {
246252 ' * Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)' ,
247253 ' * Output: 7 -> 0 -> 8' ,
248254 ' */' ,
255+ '' ,
256+ '// @lc code=start' ,
249257 '/**' ,
250258 ' * Definition for singly-linked list.' ,
251259 ' * struct ListNode {' ,
@@ -260,6 +268,7 @@ describe('core', function() {
260268 ' ' ,
261269 ' }' ,
262270 '};' ,
271+ '// @lc code=end' ,
263272 ''
264273 ] . join ( '\n' ) ;
265274
@@ -298,6 +307,8 @@ describe('core', function() {
298307 '# Input: (2 -> 4 -> 3) + (5 -> 6 -> 4)' ,
299308 '# Output: 7 -> 0 -> 8' ,
300309 '#' ,
310+ '' ,
311+ '# @lc code=start' ,
301312 '# Definition for singly-linked list.' ,
302313 '# class ListNode' ,
303314 '# attr_accessor :val, :next' ,
@@ -313,6 +324,7 @@ describe('core', function() {
313324 'def add_two_numbers(l1, l2)' ,
314325 ' ' ,
315326 'end' ,
327+ '# @lc code=end' ,
316328 ''
317329 ] . join ( '\n' ) ;
318330
0 commit comments