]> git.giacomolli.uk - onechat/commit
Name the fields of the config test cases
authorAnderson A. Giacomolli <agiacomolli@gmail.com>
Fri, 6 Nov 2026 17:19:36 +0000 (14:19 -0300)
committerAnderson A. Giacomolli <agiacomolli@gmail.com>
Fri, 6 Nov 2026 17:19:36 +0000 (14:19 -0300)
commit7b5d616eaddaee5fa8f73dea9a6593b27c06248e
tree904e5a65fa4a9f1d3176bd53aebb3677a5969d53
parent1c1771140063b1b4aa5d508ced1b285e773fce04
Name the fields of the config test cases

The test cases of the configuration and the data directory set their
fields by name, with one field on each line, as the go-code skill
requires. A case then shows which value is the XDG directory and which
is the home directory without a look at the struct.

A search of the rest of the code finds no other positional struct
literal. The node keys stay positional, because the skill allows a small
two-field type that acts as one value.

Issue: b14d537
config_test.go