Simon Hengel

Results 386 comments of Simon Hengel

> ```haskell > expectationFailure :: String -> IO a > expectationFailure msg = do > Hspec.expectationFailure msg > error "unreachable" > ``` 1. You probably want to use `Test.HUnit.assertFailure` instead...

> 2. **Line-separated JSON Stream** If we had this, > 1. **Single JSON Summary** would we then still in addition also want this? (to make things easier for tools that...

I'm not sure if I understand what you are asking for? Do you want to test a WAI application? Or do you want to test that a WAI server (e.g....

> I originally thought of addressing the latter scenario, testing a server, which would fit with the use cases of this library. I'm still not sure if I understand you...

I'm still not sure if I understand your use case. Naïvely, I assume that it is the responsibility of the server (read `warp`) to create the wire format. If you...

> CI run on my fork: [andreasabel#1](https://github.com/andreasabel/HUnit/pull/1) > > `macos-latest` fails due to: > > * [hspec/setup-haskell broken on macos-latest (macos-14) setup-haskell#44](https://github.com/hspec/setup-haskell/issues/44) I think this can be fixed by using...

If we drop support for GHC 7.* then there is some CPP that can be removed as well, e.g. https://github.com/hspec/HUnit/blob/main/src/Test/HUnit/Lang.hs#L5 https://github.com/hspec/HUnit/blob/main/src/Test/HUnit/Base.hs#L6

@tarleb thanks for your reply, that's interesting. I'm puzzled how I would use Lua (via `hslua`) as an extension language and have the **guarantee** that extensions that I write today...