guibou / krank

Krank checks your code source comments for important markers
BSD 3-Clause "New" or "Revised" License
21 stars 3 forks source link

test suite build failure against the latest http-client #90

Closed bergmark closed 3 years ago

bergmark commented 3 years ago
Building test suite 'krank-test' for krank-0.2.2..
[11 of 13] Compiling Test.Utils.GitlabSpec

/var/stackage/work/unpack-dir/unpacked/krank-0.2.2-5f2f3d95da71fda532504dc39d4de4813a61f3b85b44a7ed5d785606e7200e46/tests/Test/Utils/GitlabSpec.hs:65:24: error:
    • Couldn't match expected type: Response ()
                  with actual type: http-client-0.7.8:Network.HTTP.Client.Types.Request
                                    -> Response ()
    • Probable cause: ‘Response’ is applied to too few arguments
      In the expression:
        Response
          status http11 [] () (createCookieJar []) (ResponseClose $ pure ())
      In an equation for ‘dummyResponse’:
          dummyResponse status
            = Response
                status http11 [] () (createCookieJar []) (ResponseClose $ pure ())
   |
65 | dummyResponse status = Response status http11 [] () (createCookieJar []) (ResponseClose $ pure ())
   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
guibou commented 3 years ago

Should be fixed now. Thank you for reporting.