mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 02:33:32 +00:00
0538e8f013
32 test cases covering makeNodeSnapshotKey and makeGuestSnapshotKey utility functions used for diagnostic memory snapshot storage. Tests cover simple inputs, edge cases (empty strings, negative VMIDs), special characters, and key uniqueness verification. Also includes struct field tests for NodeMemoryRaw and VMMemoryRaw. First test file for diagnostic_snapshots.go. Coverage 36.7% → 36.8%.