mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
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
Symbolic link
1 line
27 B
Swift
Symbolic link
1 line
27 B
Swift
../NIOTests/TestUtils.swift |