Skip to content

Commit

Permalink
Update config tests for listeners
Browse files Browse the repository at this point in the history
- Group the tests by listener types rather than by options.
  This makes test layout more similar to the config spec layout.
- Introduce a new path notion - an integer in the path means an index
  in a list (TOML array), e.g. [listen, 1] is the first listener.
  The indexes start at one to be consistent with lists:nth/2
  This change allows testing config options individually, just like e.g.
  for modules.
- Add several missing tests.
  • Loading branch information
chrzaszcz committed Apr 15, 2022
1 parent 661ed64 commit a017e78
Showing 1 changed file with 288 additions and 411 deletions.
Loading

0 comments on commit a017e78

Please sign in to comment.