servant/servant-server/test
Guy Gastineau ea96794763
Add tests for a more complete server with capture all branches.
* This fails two of the tests.  We should probably add a catch all
    at the end that captures anything not matches by the Symbols for
    the preceding branches `arms` and `legs`.
  * When using `CaptureAll` from the root "/" and empty path becomes
    an empty list.  when using it from a branch though an empty path,
    ie. a trailing separator, becomes `mempty` for the type.  Where is
    this happening?  I think this is definitely happening before
    `parseUrlpieces` gets run, so it happens in the machinery for
    Delayed and DelayedIO.  I am still looking for the code that
    produces the `txts` argument for the `captureD` lambda created in
    the `HasServer` instance for `CaptureAll`.
2022-01-25 13:38:58 -05:00
..
Servant Add tests for a more complete server with capture all branches. 2022-01-25 13:38:58 -05:00
Spec.hs Prepare merge 2015-04-20 11:13:18 +02:00