Loading
pkgs-lib/formats: add regression tests for toml generator
Add two shouldPass tests that catch known yj regressions: - tomlHeterogeneousArray: arrays mixing scalars and attrsets crash yj with 'unexpected primitive type' (NixOS/nixpkgs#511970) - tomlCommaInKey: keys containing commas are silently truncated because yj stores TOML keys in Go struct tags where commas are option separators (sclevine/yj#52) Expected values are taken from go-toml's jsontoml output. Both tests fail under the current yj backend.