mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-08 17:20:26 +08:00
Parse runs
This commit is contained in:
@@ -31,6 +31,9 @@ func TestStructure(t *testing.T) {
|
||||
if child.Link == nil && child.Properties == nil && child.Run == nil {
|
||||
t.Errorf("There are children with all fields nil")
|
||||
}
|
||||
if child.Run != nil && child.Run.Text == nil {
|
||||
t.Errorf("We have a run with no text")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user