summary refs log tree commit diff stats
path: root/tests/async/twinasyncrw.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix OSError `errorCode` field is not assigned a value (#22954)握猫猫2023-11-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | In this PR, the following changes were made: 1. Replaced `raise newException(OSError, osErrorMsg(errno))` in batches with `raiseOSError(errcode)`. 2. Replaced `newException(OSError, osErrorMsg(errno))` in batches with `newOSError(errcode)`. There are still some places that have not been replaced. After checking, they are not system errors in the traditional sense. ```nim proc dlclose(lib: LibHandle) = raise newException(OSError, "dlclose not implemented on Nintendo Switch!") ``` ```nim if not fileExists(result) and not dirExists(result): # consider using: `raiseOSError(osLastError(), result)` raise newException(OSError, "file '" & result & "' does not exist") ``` ```nim proc paramStr*(i: int): string = raise newException(OSError, "paramStr is not implemented on Genode") ```
* make proc names consistent (#18626)flywind2021-08-011-1/+1
| | | | | * rename `endswith` to `endsWith` * rename
* fix #14320 (tasyncawait.nim is recently very flaky) + avoid hardcoding ↵Timothee Cour2020-05-131-21/+8
| | | | | | | service ports everywhere + flakyAssert (#14327) * hotfix #14320 tasyncawait.nim is recently very flaky * fix #14327 * add flakyAssert
* fix deprecations and other warnings (#13748)Miran2020-03-251-2/+2
|
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-2/+2
|
* Remove long deprecated stuff (#10332)Miran2019-01-181-1/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-111-1/+0
|
* Convert *_family fields to cushortLemonBoy2018-09-191-1/+1
| | | | Fixes #9008
* make tests green againAndreas Rumpf2018-07-051-2/+2
|
* Introduce addRead/addWrite for Windows IOCP.cheatfate2016-06-121-0/+257