mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 12:07:51 +00:00
* 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
16 lines
226 B
Nim
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
|