Files
swift-nio/Tests/NIOHTTP1Tests/TestUtils.swift
T
Johannes Weiss 9c58336b34 tests hygiene: a lot fewer naked trys (#552)
Motivation:

Naked `try`s in tests are a problem because if they're hit you'll get a
bad error message and likely no file/line information. That has made
many flaky tests harder to debug than necessary.

Modifications:

- fix a lot of naked `try`s
- symlink `TestUtils` from `NIOTests` into `NIOHTTP1Tests`
- make a bunch of `wait()`s synchronous that were asynchronous by
  accident

Result:

- better code
- easier to debug test failures
- setting better example
2018-08-06 13:19:23 +01:00

Symbolic link
1 line
27 B
Swift