Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

Commit 3b4e2f1

Browse files
committed
Failing test for parsing quoted nodes
1 parent edbca97 commit 3b4e2f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

OGDLTests/ParserSpec.swift

+13
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ class ParserSpec: QuickSpec {
6161
expect(parsedGraph).to(equal(expectedGraph))
6262
}
6363

64+
it("should parse quoted nodes") {
65+
let expectedGraph = [
66+
Node(value: "foo", children: [
67+
Node(value: "bar", children: [
68+
Node(value: "fuzz buzz")
69+
])
70+
])
71+
]
72+
73+
let parsedGraph = parse(graph, "foo \"bar\" \"fuzz buzz\"")
74+
expect(parsedGraph).to(equal(expectedGraph))
75+
}
76+
6477
// TODO: Not yet supported. See Carthage/ogdl-swift#6.
6578
pending("should parse siblings") {
6679
let expectedGraph = [

0 commit comments

Comments
 (0)