mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 09:38:06 -06:00
[chore] refactor test/cliparsing.sh into a go test below internal/config (#1036)
Also adds AddGlobalFlags and AddServerFlags as methods on ConfigState, very useful for testing.
This commit is contained in:
parent
52109776f6
commit
1f256e288b
9 changed files with 222 additions and 126 deletions
2
internal/config/testdata/test2.yaml
vendored
Normal file
2
internal/config/testdata/test2.yaml
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
log-level: "trace"
|
||||
account-domain: "peepee.poopoo"
|
||||
Loading…
Add table
Add a link
Reference in a new issue