File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,19 +171,25 @@ func TestExtractNodeText(t *testing.T) {
171171 tests := []struct {
172172 name string
173173 children []* struct {
174- NodeType int
175- NodeValue string
174+ NodeType int
175+ NodeValue string
176176 }
177177 expected string
178178 }{
179179 {
180- name : "empty children" ,
181- children : []* struct { NodeType int ; NodeValue string }{},
180+ name : "empty children" ,
181+ children : []* struct {
182+ NodeType int
183+ NodeValue string
184+ }{},
182185 expected : "" ,
183186 },
184187 {
185188 name : "text node" ,
186- children : []* struct { NodeType int ; NodeValue string }{
189+ children : []* struct {
190+ NodeType int
191+ NodeValue string
192+ }{
187193 {NodeType : 3 , NodeValue : "Hello" },
188194 },
189195 expected : "Hello" ,
Original file line number Diff line number Diff line change @@ -322,18 +322,18 @@ func TestPerformMarkdownTaskAdjacentInlineBlocks(t *testing.T) {
322322 // Pattern: [Github](...)\n\n[LinkedIn](...) should render with proper spacing
323323 // We want: [Github](#) [LinkedIn](#) [Twitter](#)
324324 // NOT: [Github](#)[LinkedIn](#)[Twitter](#)
325-
325+
326326 content := mr .Content
327-
327+
328328 // Check that links are present
329329 assert .Contains (t , content , "[Github]" )
330330 assert .Contains (t , content , "[LinkedIn]" )
331331 assert .Contains (t , content , "[Twitter]" )
332-
332+
333333 // Check that links have spaces between them (not running together)
334334 // The key test: we should NOT have "][" pattern (end of one link, start of next)
335335 assert .NotContains (t , content , "][" )
336-
336+
337337 // Verify proper formatting of email and website lines
338338 assert .Contains (t , content , "Email:" )
339339 assert .Contains (t , content , "test@example.com" )
You can’t perform that action at this time.
0 commit comments