mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user