LanguageServerProtocolJSONRPCTests: silence a warning

`Sleep` is a `void` returning function, which makes the blackhole
redundant.  Remove the unnecessary assignment which also silences
the warning associated with it.
This commit is contained in:
Saleem Abdulrasool
2022-08-23 12:53:22 -07:00
parent 7fb6264662
commit ea6ad5f1ff

View File

@@ -264,7 +264,7 @@ class ConnectionTests: XCTestCase {
to.fileHandleForWriting.closeFile()
#if os(Windows)
// 1 ms was chosen for simplicity.
_ = Sleep(1)
Sleep(1)
#else
// 100 us was chosen empirically to encourage races.
usleep(100)