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

Commit 7eb7bed

Browse files
committed
Test comment parsing.
1 parent 52f37ea commit 7eb7bed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

OGDLTests/ParserSpec.swift

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ class ParserSpec: QuickSpec {
7474
expect(parsedGraph).to(equal(expectedGraph))
7575
}
7676

77+
it("should parse comments") {
78+
let parsedGraph = parse(graph, "#foo")
79+
expect(parsedGraph).to(equal([]))
80+
}
81+
7782
it("should parse Example 2") {
7883
let expectedGraph = [
7984
Node(value: "libraries", children: [

0 commit comments

Comments
 (0)