summary refs log tree commit diff stats
path: root/tests/stdlib/tgetprotobyname.nim
Commit message (Collapse)AuthorAgeFilesLines
* stdlib tests now check refc too (#21664)ringabout2023-04-211-0/+4
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
* "ip" protocol as id 0 is long gone (#19760)kraptor2022-05-071-4/+0
| | | | | | | | | | | | | | | IANA is using id 0 for "HOPOPT" instead of "ip" for some time now and those systems that still support the old mapping will stop doing so at some point in the future. Some BSDs and openSUSE are already following this change as per IANA list here: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml As new unixes (and maybe Windows, who knows) start to adopt the updated IANA list, this will keep failing from time to time, so it's better to remove the "ip" check altogether.
* fix #16256: nimout: <empty> should give error (vacuously true); improve a ↵Timothee Cour2021-05-311-10/+0
| | | | | | | | | | | | | | | | | | | few tests (#18089) * fix #16256: nimout: <empty> should give error (vacuously true); improve some tests * renamed: tests/stdlib/t9710.nim -> tests/misc/t9710.nim * improve tests * fix non-DRY tests * improve $nim_prs_D/tests/stdlib/t9091.nim * renamed: tests/stdlib/t9091.nim -> tests/misc/t9091.nim * fixup * address comment: doAssert => result.parseErrors
* Fix #15452 - ip protocol not defined on NetBSD (#15453)Euan2020-10-011-1/+4
|
* add getprotobyname (#15273)flywind2020-09-091-0/+25
* add getprotobyname * tests, docs, changelog * add since