Documentation
¶
Overview ¶
Package testutil provides shared test helpers for round-trip testing of Office documents (PPTX, DOCX, XLSX).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareZipFiles ¶
CompareZipFiles compares two ZIP files and returns lists of missing, extra, and changed parts.
func ReadZipParts ¶
ReadZipParts reads all parts from a ZIP file (PPTX/DOCX/XLSX) into a map. Part names have leading slashes stripped for consistency.
func ShowDiff ¶
ShowDiff shows the first difference between two byte slices for debugging. Only shows diffs for XML and .rels files.
func SortedKeys ¶
SortedKeys returns the keys of a map sorted alphabetically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.