mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-02 13:30:13 +00:00
Tests for flexibleFloat and flexibleInt custom JSON unmarshalers that handle PMG API responses where numeric values may arrive as numbers, strings, or nulls. 64 test cases covering: - JSON numbers (integers, floats, scientific notation, negatives) - String values (numeric strings, empty, whitespace, "null") - JSON null values - Error cases (invalid strings, arrays, objects, booleans) - Boundary values (max/min float64) - Real PMG response patterns (mail stats, queue status) - Struct embedding behavior |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| json_types.go | ||
| json_types_test.go | ||