mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +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 Motivation: Explain here the context, and why you're making that change. What is the problem you're trying to solve. Modifications: Describe the modifications you've done. Result: After your change, what will change.
Symbolic link
1 line
27 B
Swift
Symbolic link
1 line
27 B
Swift
../NIOTests/TestUtils.swift |