Skip to content

Commit

Permalink
Okay something is wrong on Linux. Switching to that
Browse files Browse the repository at this point in the history
  • Loading branch information
tanelso2 committed Dec 27, 2023
1 parent 6767bc4 commit d51f1c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/yanyl/core.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import
strutils,
sugar,
tables,
yaml,
yaml/dom
yaml

type
YNodeKind* = enum
Expand Down
9 changes: 8 additions & 1 deletion tests/tloadnode.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ c:
let y: YNode = s.loadNode()
assert y.kind == ynMap
assert y.get("a").kind == ynString
assert y.get("c").kind == ynList
assert y.get("c").kind == ynList
# assert y.get("d").kind == ynString

import
streams

let s2 = newFileStream("example.yaml")
let y2: YNode = s2.loadNode()

0 comments on commit d51f1c1

Please sign in to comment.