Files
Nim/tests/stdlib/toids.nim
ringabout 3d2f0e2c7c make more standard libraries work with nimPreviewSlimSystem (#20343)
* 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
2022-09-27 20:06:23 +02:00

16 lines
226 B
Nim

discard """
matrix: "--mm:refc; --mm:orc"
"""
import std/oids
import std/assertions
block: # genOid
let x = genOid()
doAssert ($x).len == 32
block:
let x = genOid()
let y = parseOid(cstring($x))
doAssert x == y